Skip to content
micdoher edited this page May 16, 2019 · 18 revisions

Contributions

Git Branching Basic Process Commands

git checkout -b <your-branch-name> _ = moves you to the branch listed_

git add <files>

git commit -m <commit-message>

git push origin <your-branch-name>

Go to the Github GUI and create pull request

If the pull request does not show any errors, you can merge it from there.

Cleanup merged branches

git branch --merged| egrep -v "(^\*|master)"
git tag archive/<branch-to-delete>
git branch -d <branch-to-delete>
git push --delete origin <branch-to-delete>

Useful commands

git status
git log
Clone this wiki locally