Skip to content

Commit f43c120

Browse files
authored
Update git reflog expiration settings
1 parent 31cbba8 commit f43c120

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.devcontainer/postStartCommand.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ if [ -n "$SNAPSHOT_SAS_URL" ]; then
99
SAS_URI="$SNAPSHOT_SAS_URL" /usr/local/bin/hydrate.sh $WORKSPACE_DIR
1010
fi
1111

12+
# Keep reflog commits "forever"
13+
git config gc.reflogExpire 500.years.ago
14+
git config gc.reflogExpireUnreachable 500.years.ago
15+
1216
sudo cp .devcontainer/spark.conf /etc/supervisor/conf.d/
1317

1418
sudo chown node /var/run/

0 commit comments

Comments
 (0)