mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 17:25:23 +02:00
[git] Alias undo-commit
This commit is contained in:
parent
2874c92635
commit
1bf7c719f8
1 changed files with 5 additions and 4 deletions
|
@ -35,6 +35,7 @@
|
||||||
unstage = reset HEAD --
|
unstage = reset HEAD --
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
amend = commit --amend
|
amend = commit --amend
|
||||||
|
undo-commit = reset --soft HEAD^
|
||||||
# From http://j.shirley.im/tech/git-flow/
|
# From http://j.shirley.im/tech/git-flow/
|
||||||
feature-start = !git flow feature start $1
|
feature-start = !git flow feature start $1
|
||||||
feature-finish = !git flow feature finish $1 && git push
|
feature-finish = !git flow feature finish $1 && git push
|
||||||
|
|
Loading…
Reference in a new issue