aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dotfiles/cheat/git3
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/cheat/git b/dotfiles/cheat/git
index 9fad2c3..760e2af 100644
--- a/dotfiles/cheat/git
+++ b/dotfiles/cheat/git
@@ -113,6 +113,9 @@ git diff --no-index path/to/file/A path/to/file/B
git fetch --all
git reset --hard origin/master
+# Prune all remotly delete branch
+git fetch -p
+
# Update all your submodules
git submodule update --init --recursive