-
-
Notifications
You must be signed in to change notification settings - Fork 339
Some Git commandline actions
lshems edited this page Jun 22, 2021
·
1 revision
ls - lists all of the folders
ls -la - lists all of the files
cd .. - returns one dir back
cd - enters a directory
. - just install in the current directory
git --version - checks the version of the installed locally git
git config --global user.name "Your Name" - sets up the name of the user
git config --global user.email "[email protected]" - sets up the mail of the user
git config --list - lists all the git configurations
git help <verb> (e.g. git help config) OR
git <verb> --help
git init - initializes the git repo in the current folder
touch .gitignore - creates a git ignore file
git status - check working tree - both on the git and on local
git add -A - adds all of the files for commiting
remember - git status - to check the state of the repo
git reset - removes files to be commited
git reset somefile.js - removes somefile.js from the commit preparation
git commit -m "This is the commit message" - -m is used to add message
git log - renders commit ids, authors, dates
git clone <url> <where to clone>
git remote -v - lists info about the repo
git branch -a - lists all of the branches
git diff - shows the difference made in the files
git pull origin master
git push origin master - <origin> name of remote repo <master> the branch that we push to
git push -u origin <name of the branch> - -u coordinates the two branches (local and on server)
git branch <name of the branch>
git checkout <name of the branch>
git checkout master
git pull origin master
git branch --merged - see which branches are merged
git merge <name of the branch you want to merge>
git push origin master
git branch -d <name of the branch> - this deletes it locally!!!
git branch -a - check the repo branches
git push origin --delete <name of the branch> - this deletes it from the repo!
Getting started with Git
- Workflow for GitHub noobs
Building and debugging EdgeTX
- In a webbrowser with Gitpod
- Windows 10 (MSYS2)
- Docker with Windows 10
- Ubuntu in a WSL2 under Win10
- Ubuntu 20.04
- MacOS 10.15
- MacOS 14.1
Modifications:
- Flysky Hall Sticks Mod
- Flysky FRM303 Mod for TX16S
- Flysky PL18 & PL18EV Hardware Mod for Complete EdgeTX Support
- Flysky NB4+ Hardware Mod for Complete EdgeTX Support
- Flashing EdgeTX to Flysky PL18 or Paladin-EV
How to unbrick your radio with STM32CubeProgrammer
DMA mappings of radios:
- RadioMaster TX16S
- FlySky NV14
Interrupt usage of radios:
- RadioMaster TX16S
Implementation notes:
- YAML Parser/Generator
- Mixer synchronisation
Deprecated:
- Windows 10 (Visual C++)