Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed typo




verbose display when committing

git commit -v

shortcut for commit message

git commit -a -m"This is my great message"

change last commit message while in staging

git commit --ammendamend

Display Changes and Log



show log

git log

last commit of current branch

git diff HEAD

display log with rename and copy

Code Block
git log --stat --C (for extended display use --find-copies-harder--)

difference to a specific repository

git diff HEAD remote/name/master

difference to a branch

git diff master feature1

show branch

git show-branch

display executed commands

git reflog

view local repository in browser

git instaweb --httpd webrick

tool to visualize git

gitk --all& (all branches)