Git Cheat-Sheet

Checkout remote branch

git checkout -b origin/branchname

Merge

git merge otherbranch
git branch -d otherbranch
git push origin :otherbranch

Change History

git rebase -i --root $tip
pick -> edit welche zu editieren sind
git commit --amend .... was geändert werden soll
git rebase --continue ... auf zum nächsten usw.