summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
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