58aae6a896
Instead of using `git submodule update`, that will keep the commit specified in the containing repository index. Closes #80
11 lines
276 B
Text
11 lines
276 B
Text
#
|
|
# zim_update - update the zim repository
|
|
#
|
|
|
|
cd ${ZDOTDIR:-${HOME}/.zim}
|
|
|
|
# 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
|
|
git submodule foreach --quiet --recursive git pull origin master
|