From 2902438c43b1339f9acfcc5472c6d5d96de2475d Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Tue, 11 Aug 2015 21:38:22 -0400 Subject: [PATCH] Added command to clean up the .git folder, which can get very large after awhile. --- commands/misc.ipynb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/misc.ipynb b/commands/misc.ipynb index eb017fb..bdaa638 100644 --- a/commands/misc.ipynb +++ b/commands/misc.ipynb @@ -267,6 +267,9 @@ "# commit log message are all there at the top of the patch.\n", "!git format-patch origin/master\n", "\n", + "# Clean up .git folder:\n", + "!git repack -a -d --depth=250 --window=250\n", + "\n", "# GitHub tutorial:\n", "http://try.github.io/levels/1/challenges/9\n", "\n",