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
|
# remove file(s) from index or move current branch pointer
|
||||||
alias grs="\
|
grs() {
|
||||||
git \
|
git \
|
||||||
reset \
|
reset \
|
||||||
"
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
# wipe modifications or reset current branch to another commit
|
# wipe modifications or reset current branch to another commit
|
||||||
alias grsh="\
|
grsh() {
|
||||||
git \
|
git \
|
||||||
reset \
|
reset \
|
||||||
--hard \
|
--hard \
|
||||||
"
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
# current state of repository
|
# current state of repository
|
||||||
alias gs="\
|
alias gs="\
|
||||||
|
|
Loading…
Reference in a new issue