1
0
Fork 0
mirror of synced 2024-06-17 06:11:09 -04:00
zimfw/tools/zim_update
2016-09-02 18:28:29 -07:00

12 lines
251 B
Plaintext

#
# 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