Yapf.net

GiT cheatsheet

Veelgebruikte commando's en tips, wordt aangevuld wanneer ik ze tegenkom.

GIT

code
# See what's coming in from the repository:
git fetch
git log ..origin/master

# Ignore filemode changes
git config core.fileMode false

# Apply what has been fetched:
git merge

# ...or supply the (local) branche to merge

git merge origin/master


# See what's going out before you commit
git fetch
git log origin/master..

# Undo last commit
git reset HEAD~