grs
This commit is contained in:
parent
6b4410052b
commit
e93728cdc5
1 changed files with 9 additions and 8 deletions
|
@ -212,16 +212,17 @@ alias grms='git remote show'
|
||||||
alias grmu='git remote set-url'
|
alias grmu='git remote set-url'
|
||||||
|
|
||||||
# remove file(s) from index or move current branch pointer
|
# remove file(s) from index or move current branch pointer
|
||||||
alias grs='git reset'
|
alias grs="\
|
||||||
|
git \
|
||||||
# move current branch pointer to the development branch
|
reset \
|
||||||
alias grsd='git reset dev'
|
"
|
||||||
|
|
||||||
# wipe modifications or reset current branch to another commit
|
# wipe modifications or reset current branch to another commit
|
||||||
alias grsh='git reset --hard'
|
alias grsh="\
|
||||||
|
git \
|
||||||
# reset current branch to the development branch
|
reset \
|
||||||
alias grshd='git reset --hard dev'
|
--hard \
|
||||||
|
"
|
||||||
|
|
||||||
# current state of repository
|
# current state of repository
|
||||||
alias gs='git status --untracked-files=all'
|
alias gs='git status --untracked-files=all'
|
||||||
|
|
Loading…
Reference in a new issue