Last active
June 16, 2017 08:35
-
-
Save albertoperezf/c6670f14149235174cfd6154fb9cee5b to your computer and use it in GitHub Desktop.
Git config for development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = a.perez@medlabmg.com | |
name = Alberto Perez | |
[alias] | |
h = "! cat ~/.gitconfig" | |
# List of shortcuts | |
co = checkout | |
cr = checkout -b | |
com = checkout master | |
cod = checkout development | |
cos = checkout staging | |
br = branch | |
bra = branch --all | |
brd = branch --delete | |
brt = branch --track | |
dl = branch -d | |
ci = commit -m | |
cmf = commit --fixup | |
cmn = commit --no-verify | |
cms = commit --squash | |
st = status | |
pl = pull origin | |
plm = pull origin master | |
pld = pull origin development | |
pls = pull origin staging | |
ps = push origin | |
psm = push origin master | |
psd = push origin development | |
pss = push origin staging | |
dlf = branch -D | |
ssa = stash --save | |
sap = stash apply | |
aa = add . | |
l = log | |
lgs = log --pretty=format:'%cr%Cred%d%Creset% %Cgreen[%h]%Creset %Cblue[%ce]%Creset %s' --decorate | |
lgl = log --pretty=format:'%cr%Cred%d%Creset% %Cgreen[%h]%Creset %Cblue[%ce]%Creset %s' --decorate --stat | |
lgg = log --pretty=format:'%cr%Cred%d%Creset %Cgreen[%h]%Creset %Cblue[%ce]%Creset %s' --decorate --graph --abbrev-commit | |
mr = merge | |
rs = reset | |
rsh = reset --hard | |
fe = fetch | |
fea = fetch --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment