diff --git a/commit.sh b/commit.sh index 5a42721..1e7280b 100755 --- a/commit.sh +++ b/commit.sh @@ -6,11 +6,9 @@ echo "Got new commit: $(date)" echo "---" echo -# saves current state of fs -git stash - # pull latest version -git pull +git fetch --all +git reset --hard origin/main git submodule init git submodule update --recursive --remote