Skip to content

Instantly share code, notes, and snippets.

@edysegura
Last active August 22, 2017 22:00
Show Gist options
  • Save edysegura/af172f68b512c70f06a78af4412ca908 to your computer and use it in GitHub Desktop.
Save edysegura/af172f68b512c70f06a78af4412ca908 to your computer and use it in GitHub Desktop.
[git] Alias for git usual commands
[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