Skip to content

Commit

Permalink
.gitconfig: add alias.showlast = log -n 1 -p
Browse files Browse the repository at this point in the history
  • Loading branch information
janmoesen committed Dec 16, 2011
1 parent 0633024 commit d2d4dbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@

# Show the staged changes.
dc = diff --cached

# Like "git show myfile", but uses the last commit that changed "myfile".
showlast = log -n 1 -p

0 comments on commit d2d4dbb

Please sign in to comment.