From e24311868d818b18d93b51bcf4ff5e1adb556261 Mon Sep 17 00:00:00 2001 From: yushyin Date: Sun, 6 Sep 2015 23:32:49 +0200 Subject: Add git config --- git/config | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 git/config diff --git a/git/config b/git/config new file mode 100644 index 0000000..09e88fe --- /dev/null +++ b/git/config @@ -0,0 +1,30 @@ +[alias] + l = log --color --graph --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit + lg = log --color --graph -n 15 --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit + lf = log --color --graph --name-status --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit + ll = log --color --graph --all --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit + + s = status -s + ss = status + a = add + ai = add -i + p = push + pu = pull + f = fetch + fa = fetch --all + c = commit + dt = difftool + dtg = difftool -g + b = branch + bv = branch -v + bva = branch -va + co = checkout + cb = checkout -b + d = diff --stat + dd = diff + m = merge + ff = merge --ff-only + r = remote + rv = remote -v + rb = rebase + rbi = rebase -i -- cgit v1.2.3-24-g4f1b