zshrc: Change git froce pull alias
This commit is contained in:
parent
91fb4ff0bf
commit
b55ad7d322
|
@ -104,5 +104,5 @@ alias rsync-synchronize="rsync -avzu --delete --progress -h"
|
|||
alias doch='sudo sh -c "$(fc -n -l -- -1)"'
|
||||
|
||||
# more git helpers
|
||||
alias git-force-pull='git fetch && git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)'
|
||||
alias git-reset-pull='git fetch && git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)'
|
||||
alias git-force-push='git push origin $(git rev-parse --abbrev-ref HEAD) --force-with-lease'
|
||||
|
|
Loading…
Reference in a new issue