This is what make my life working with git easier. alisa save thousands of keystrokes every weeks !
$cat .gitconfig
[user]
name = Nasimuddin Ansari
email = Nasimuddin Ansari@example.com
[push]
default = matching
[branch]
autosetupbase = always
autosetuprebase = always
[color]
ui = true
status = auto
branch = auto
[core]
editor = vi
excludesfile = ~/.gitignore
[alias]
bd = branch -d
l = log --graph --decorate --oneline --all -n15
rbm = rebase master
co = checkout
cm = checkout master
ss = status -s
s = status
b = branch -v
a = add .
c = commit -a
ca = commit --amend
d = diff
p = pull
dc = diff --cached
dh = diff HEAD
dhh = diff HEAD^
cb = checkout -b
r = review -v
rn = review -n
[help]
autocorrect = 3
$cat .gitconfig
[user]
name = Nasimuddin Ansari
email = Nasimuddin Ansari@example.com
[push]
default = matching
[branch]
autosetupbase = always
autosetuprebase = always
[color]
ui = true
status = auto
branch = auto
[core]
editor = vi
excludesfile = ~/.gitignore
[alias]
bd = branch -d
l = log --graph --decorate --oneline --all -n15
rbm = rebase master
co = checkout
cm = checkout master
ss = status -s
s = status
b = branch -v
a = add .
c = commit -a
ca = commit --amend
d = diff
p = pull
dc = diff --cached
dh = diff HEAD
dhh = diff HEAD^
cb = checkout -b
r = review -v
rn = review -n
autocorrect = 3
Ref: https://gist.github.com/pksunkara/988716
No comments:
Post a Comment