摘要:
git status, git add, git commit, and git checkoutare such common commands that it is useful to have abbreviations for them.Add the following to the .gitconfig file in your $HOME directory.FILE: .gitconfig[alias] co = checkout ci = commit st = status br = branch hist = log --pretty=format:\"%h % 阅读全文
posted @ 2012-04-26 11:11
.net's
阅读(330)
评论(0)
推荐(0)
摘要:
The Ultimate Log Format Over time, I’ve decided that I like the following log format for most of my work. EXECUTE: git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=shortIt looks like th... 阅读全文
posted @ 2012-04-26 11:09
.net's
阅读(538)
评论(0)
推荐(0)