git alias 等 gitconfig的一些配置
[alias] st = status ci = commit br = branch co = checkout df = diff lg = log -p
编辑 .gitconfig 文件如果想要把 rebase 做 git pull 的值,可以在案的 .git/config 加上
[branch "master"] remote = origin merge = refs/heads/master rebase = true
也可以直接加到 ~/.gitconfig 所有的 tracked branches 都自套用定:
[branch] autosetuprebase = always