git clone [email protected]:<repo name>.git
Assumes fresh repo and always branching from master branch
## clone repo
cd <RepoName>
git checkout -b <New Branch>
git push origin --set-upstream <New Branch>
Add individual files specific to an individual change.
git add <filename>
# note: message format [ticket tracker abreviation-ticket number] Call me Ishmael
git commit -m “<[MON-####] - meaningful short message>”
git push <Branch Name>
git fetch --all
git fetch --tags
git remote prune origin
git pull --rebase
git push origin <branch name>
git fetch --all
git fetch --tags
git remote prune origin
git pull --rebase origin master
# note: the next command will rewrite history
git push -f origin <branch name>
git tag -a <tag number> -m “[RFC-####] - meaningful message”
Upon completion, if there are merge conflicts see keeping up to date with master above.
git fetch --all
git fetch --tags
git remote prune origin
git checkout master
git merge <tag number>