Last active
July 3, 2023 19:35
-
-
Save GerardoHP/858eac055e3b027c4d8b1774c099a20a to your computer and use it in GitHub Desktop.
common git aliases
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
[core] | |
editor = code --new-window --wait | |
[alias] | |
egc = config --global --edit | |
elc = config --local --edit | |
esc = config --system --edit | |
st = status | |
ss = st --short | |
co = checkout | |
sw = switch | |
swp = sw - | |
swn = sw -c | |
swd = sw develop | |
ci = commit | |
cia = ci -am | |
amend = ci --all --amend | |
mg = merge | |
mgd = mg develop | |
rb = rebase | |
rbd = rb develop | |
pl = pull | |
ps = push | |
psn = ps --set-upstream origin | |
lg = log | |
lg1 = lg --oneline | |
lgf = lg --oneline --graph --decorate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment