summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2015-09-06 23:32:49 +0200
committeryushyin <yushyin@saga>2015-09-06 23:32:49 +0200
commite24311868d818b18d93b51bcf4ff5e1adb556261 (patch)
tree12721a94caadc1a4505581cf4802fbb0861d2f16 /git
parent0f1117f03203d14e580b7d7c8d647b5f03cd5c73 (diff)
downloaddotfiles-e24311868d818b18d93b51bcf4ff5e1adb556261.tar.gz
dotfiles-e24311868d818b18d93b51bcf4ff5e1adb556261.tar.xz
Add git config
Diffstat (limited to 'git')
-rw-r--r--git/config30
1 files changed, 30 insertions, 0 deletions
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