This workflow assumes upstream is the main repo, and origin is your fork.
Command | Description |
---|---|
git checkout release |
get back to release |
git pull upstream release |
pull down new code (or do a fetch and then checkout upstream/release) |
git checkout -b 'feature-branch-name' |
Checkout a branch (it can be any name) |
Make your changes | (bang on your keyboard) |
git status |
Shows you which files you changed, use this often |
git diff |
shows you your actual changes. hit q to exit git diff. |