2016-05-14 18:22:04 -04:00
|
|
|
#
|
|
|
|
# zim_update - update the zim repository
|
|
|
|
#
|
|
|
|
|
2016-09-02 21:28:29 -04:00
|
|
|
cd ${ZDOTDIR:-${HOME}/.zim}
|
2016-05-14 18:22:04 -04:00
|
|
|
|
|
|
|
# this is the cleanest way I know of to update a repository
|
|
|
|
git remote update -p
|
|
|
|
git merge --ff-only @\{u\}
|
|
|
|
# and update the submodules
|
2016-09-24 21:46:01 -04:00
|
|
|
git submodule foreach --quiet --recursive git pull origin master
|