1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00
zimfw/tools/zim_update
2016-09-02 18:28:29 -07:00

11 lines
251 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 update --init --recursive