zshrc: Change git froce pull alias

This commit is contained in:
Jannik Beyerstedt 2022-06-07 18:05:53 +02:00
parent 91fb4ff0bf
commit b55ad7d322
1 changed files with 1 additions and 1 deletions

View File

@ -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'