added dotupdate alias for updating

This commit is contained in:
Nathan Schneider
2020-02-27 03:27:00 +00:00
parent c0c9126b81
commit 85a7a33560
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -17,6 +17,7 @@ alias pcloud='~/Apps/pcloud'
alias pandout='~/.scripts/pandout.sh' alias pandout='~/.scripts/pandout.sh'
alias pandorm='rm -rf output' alias pandorm='rm -rf output'
alias cv='~/.scripts/cv.sh' alias cv='~/.scripts/cv.sh'
alias dotupdate='git fetch --all && git reset --hard origin/master'
# Hopefully temporary utility aliases: # Hopefully temporary utility aliases:
alias paren='xmodmap -e "keycode 81=9 parenleft"' alias paren='xmodmap -e "keycode 81=9 parenleft"'
+2 -3
View File
@@ -24,7 +24,6 @@ On Debian-based systems:
## Updating ## Updating
Do all editing on the GitLab repo, rather than locally, then update changes on local machines. On local machines, to update from canonical GitLab repo: Do all editing on the GitLab repo, rather than locally, then update changes on local machines. On local machines, to update from canonical GitLab repo, use this alias:
git fetch --all dotupdate
git reset --hard origin/master