1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| [user] email = xxx@qq.com name = xyz [core] autocrlf = true [alias] fb = !sh -c \"git branch -a | grep -v remotes | grep $1 | head -n 1 | xargs git checkout\"
co = checkout
ci = commit st = status pl = pull ps = push dt = difftool l = log cp = cherry-pick ca = commit -a b = branch
gu = ls-files . sl = log summary = show # Mercurial crib
[color] diff = auto status = auto branch = auto interactive = auto ui = true pager = true
[color "branch"] current = yellow reverse local = yellow remote = green
[color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold
[color "status"] added = yellow changed = green untracked = cyan
|