`

git shortcuts

    博客分类:
  • CI
git 
阅读更多

git config --global alias.d1 "diff"

 

~/.gitconfig 

[core]

        autocrlf = input

[color]

        diff=auto

        ui = auto

        branch=auto

[alias]

        ci = commit

        co = checkout

        st = status

        df = diff

        dc = diff --cached

        dh = diff HEAD

        br = branch

        cm = commit -m

        logf = log --pretty=format:'%h %s'

        hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short

        type = cat-file -t

        dump = cat-file -p

[merge]

        tool = kdiff3

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics