dotfiles/update

25 lines
768 B
Text
Raw Permalink Normal View History

2018-05-28 04:38:29 -04:00
#!/usr/bin/env bash
2018-05-28 04:38:29 -04:00
set -e
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
2018-08-06 22:24:44 -04:00
git submodule foreach git fetch && git submodule foreach git reset --hard origin/master
rm -f zimfw/modules/prompt/external-themes/lean/*.zwc
rm -f zimfw/modules/prompt/external-themes/pure/*.zwc
git commit -a -m "Synchronized updates $(date +"%Y-%m-%d")"
git push origin
#git submodule update --recursive --remote
#git submodule foreach git fetch && git submodule foreach git reset --hard origin/master
2018-06-02 18:28:56 -04:00
2018-06-03 00:42:11 -04:00
#rm -rf zimfw dotbot tmux
#git submodule update --recursive --remote
#git submodule update --init --recursive
2018-08-06 22:24:44 -04:00
#git submodule update --init --recursive --remote
#git pull --recurse-submodules
2018-08-06 22:24:44 -04:00
#git submodule foreach git pull origin master --recurse-submodules