Last active
August 22, 2017 22:00
-
-
Save edysegura/af172f68b512c70f06a78af4412ca908 to your computer and use it in GitHub Desktop.
[git] Alias for git usual commands
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 = 'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin | |
[alias] | |
feat = checkout feature/iws/buc11bb3 | |
for = push origin HEAD:refs/for/[branch-name] --no-verify | |
draft = push origin HEAD:refs/drafts/[branch-name] --no-verify | |
amend = commit --amend --no-edit | |
dev = checkout dev-temp | |
bdev = checkout -B dev-temp | |
hist = log -2 | |
s = status | |
p = pull | |
fix = !git gc --prune=now && git remote prune origin | |
fdp = !git gc --prune=now && git remote prune origin && git pull | |
c = commit -m | |
co = checkout | |
r = reset | |
edit = config --global -e | |
rb = rebase | |
st = stash | |
stap = stash apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment