git branchgit branch [branchname]git checkout [branchname]- OR instead of the two separate commands, you can do
git checkout -b [branchname]
git statusgit add .ORgit add -Agit statusgit commit -m "Commit Message"
git push -u origin [branchname]
- Go to GitHub and click on branches
- Find your [branchmame]
- Create pull request
- SOMEONE ELSE - 1-2 group members should approve your pull request and merge the branch/pull request into the remote master branch
For everyone else in your team who needs the updated Master
- commit changes on your local branch (see Complete Task + Commit)
git checkout mastergit branch(ALWAYS do this to confirm which branch you're on!)git pullgit checkout [branchname]git branch(ALWAYS do this to confirm which branch you're on!)git merge master- resolve merge conflicts + repeat
- https://github.com/jlord/git-it-electron#what-to-install
- https://www.atlassian.com/git/tutorials/comparing-workflows
- https://github.com/praqma-training/git-katas/blob/master/Overview.md
- https://github.com/praqma-training/git-katas
- https://medium.com/@muneebsajjad/git-flow-explained-quick-and-simple-7a753313572f
- https://www.freecodecamp.org/news/beaucarnes/how-to-use-GitHub--7mdMGAPL
- https://medium.freecodecamp.org/what-is-git-and-how-to-use-it-c341b049ae61
- https://medium.freecodecamp.org/how-to-become-a-git-expert-e7c38bf54826
- https://medium.freecodecamp.org/how-to-use-git-efficiently-54320a236369
- https://medium.freecodecamp.org/5-github-tips-for-new-coders-2f312689ffd5