Forráskód Böngészése

git: added alias 'hash'

Fabian Peter Hammerle 8 éve
szülő
commit
24fbc71fd5
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      setup

+ 1 - 0
setup

@@ -21,6 +21,7 @@ git config --global difftool.vimdiff.cmd 'vim -R -f -d -c "wincmd l" -c '\''cd "
 # aliases
 git config --global alias.branches "branch --all"
 git config --global alias.diff-last "diff HEAD^ HEAD"
+git config --global alias.hash 'show --no-patch --format="%H"'
 git config --global alias.jingle "!git fetch && git tree"
 git config --global alias.pick "cherry-pick"
 git config --global alias.status-tracked "status --untracked-files=no"