git checkout master
git pull
git branch mybranch
git checkout mybranch
git branch -v
git add *
git commit -m "concise description of that changes"
git branch -v
git checkout master
git pull
git branch -v
git checkout mybranch
git rebase master
git push -u origin mybranch
Use the GitHub feature of merging a pull request to merge branch called mybranch
to master
- Once merged the feature branch into the master branch, delete the feature branch remotely and locally.
- Always use a different branch, not the master branch
- Use
git rebase