Git
- Activate (venv)
- Git clone
- Git branch branchname( make branch)
- Git branch ( check which branch you're on)
- Git checkout branchname( go to branchname )
- Git branch ( checking again.. Should be *branchname)
==============
- Git reset( un-add stuff)
==============
- Git add filename
- Git commit -m "memo"
- Git push -u origin branchname ( push branch to master)
===========
- Go to github , switch to branch, pull request
===========
- Make a new branch:
- Git checkout master( go to master)
- Git checkout -b branchname( makes branch and goes to it)
- On a fork to pull:
- Git remote add upstream
- Git pull upstream branchname
Feel free to comment any important ones I left out. This is more a place of reference for myself for common used git commands.