zim/tools/zim_update

12 lines
239 B
Text
Raw Normal View History

2016-05-15 00:22:04 +02:00
#
# zim_update - update the zim repository
#
cd ${ZIM_HOME}
2016-05-15 00:22:04 +02:00
# this is the cleanest way I know how to update a repository
2016-05-15 00:22:04 +02:00
git remote update -p
git merge --ff-only @\{u\}
# and update the submodules
git submodule update --init --recursive