forked from colonelpanic/dotfiles
fix git reset-branch
This commit is contained in:
parent
3f1ab9a530
commit
5be58e2f34
@ -27,7 +27,7 @@
|
|||||||
sha = rev-parse HEAD
|
sha = rev-parse HEAD
|
||||||
branch-or-sha = "!bs() { git which-branch 2> /dev/null || git sha 2> /dev/null ; }; bs"
|
branch-or-sha = "!bs() { git which-branch 2> /dev/null || git sha 2> /dev/null ; }; bs"
|
||||||
amend = commit -a --amend -C HEAD
|
amend = commit -a --amend -C HEAD
|
||||||
reset-origin = "!r() { git reset --hard origin/\"$(git parse-branch)\" && git suir; }; r"
|
reset-origin = "!r() { git reset --hard origin/\"$(git which-branch)\" && git suir; }; r"
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
# Use custom `.gitignore` and `.gitattributes`
|
# Use custom `.gitignore` and `.gitattributes`
|
||||||
|
Loading…
Reference in New Issue
Block a user