Explorar el Código

git: alias diff-last

Fabian Peter Hammerle hace 9 años
padre
commit
52e4e0c331
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      setup

+ 1 - 0
setup

@@ -16,4 +16,5 @@ git config --global diff.tool vimdiff
 
 # aliases
 git config --global alias.branches "branch --all"
+git config --global alias.diff-last "diff HEAD^ HEAD"
 git config --global alias.tree "log --graph --abbrev-commit --decorate --format=format:'%C(red)%h%C(reset)%C(bold red)%d%C(reset) %C(dim green)(%ar)%C(reset) %C(bold black)%s%C(reset) %C(dim white)(%an)%C(reset)' --all"