added dotupdate alias for updating
This commit is contained in:
@@ -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"'
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user