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

Contributions

Git Commands

git checkout -b <your-branch-name>

git add <files>

git commit -m <commit-message>

git push origin <your-branch-name>

Go to github and create pull request

Cleanup merged branches

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

Useful commands

git status
git log
Clone this wiki locally