Merge pull request #94 from stefan0xC/dont-stash-ignored

don't stash the node_modules folder
This commit is contained in:
Daniel García 2022-11-09 22:18:56 +01:00 committed by GitHub
commit e7f8ac66be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ else
# If there already is a checked-out repo, lets clean it up first. # If there already is a checked-out repo, lets clean it up first.
pushd "${VAULT_FOLDER}" pushd "${VAULT_FOLDER}"
# Stash current changes if there are any, we don't want to loose our work if we had some # Stash current changes if there are any, we don't want to loose our work if we had some
git stash --all --quiet &> /dev/null || true git stash --include-untracked --quiet &> /dev/null || true
# Checkout the master repo first # Checkout the master repo first
git checkout master git checkout master
git reset --hard git reset --hard