diff --git a/.local/bin/provision b/.local/bin/provision index 42dedf88..c5ad3c64 100644 --- a/.local/bin/provision +++ b/.local/bin/provision @@ -167,6 +167,8 @@ if [ -d /usr/local/src/hiawatha ] && [ ! -w /usr/local/src/hiawatha ]; then fi if [ -d /usr/local/src/hiawatha/.git ]; then git config pull.rebase false + git reset --hard HEAD + git clean -fxd git pull origin master else rm -rf /usr/local/src/hiawatha diff --git a/.local/share/chezmoi/home/dot_local/bin/executable_provision b/.local/share/chezmoi/home/dot_local/bin/executable_provision index 42dedf88..c5ad3c64 100644 --- a/.local/share/chezmoi/home/dot_local/bin/executable_provision +++ b/.local/share/chezmoi/home/dot_local/bin/executable_provision @@ -167,6 +167,8 @@ if [ -d /usr/local/src/hiawatha ] && [ ! -w /usr/local/src/hiawatha ]; then fi if [ -d /usr/local/src/hiawatha/.git ]; then git config pull.rebase false + git reset --hard HEAD + git clean -fxd git pull origin master else rm -rf /usr/local/src/hiawatha