瀏覽代碼

git: added alias 'timestamp'

Fabian Peter Hammerle 8 年之前
父節點
當前提交
ac4de35ddd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      setup

+ 1 - 0
setup

@@ -25,6 +25,7 @@ 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"
+git config --global alias.timestamp 'show --no-patch --format="%at"'
 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(dim white)%s%C(reset) %C(bold black)(%an, %ad)%C(reset)' --all --date=short"
 
 # filters