reset
This commit is contained in:
parent
79b5c724e4
commit
e5c43ae676
1 changed files with 11 additions and 9 deletions
|
@ -428,17 +428,19 @@ grms() {
|
|||
}
|
||||
|
||||
# remove file(s) from index or move current branch pointer
|
||||
alias grs="\
|
||||
grs() {
|
||||
git \
|
||||
reset \
|
||||
"
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# wipe modifications or reset current branch to another commit
|
||||
alias grsh="\
|
||||
grsh() {
|
||||
git \
|
||||
reset \
|
||||
--hard \
|
||||
"
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# current state of repository
|
||||
alias gs="\
|
||||
|
|
Loading…
Reference in a new issue