aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcbreton <corentin.breton@fullsave.com>2020-04-24 16:28:29 +0200
committercbreton <corentin.breton@fullsave.com>2020-04-24 16:28:29 +0200
commite37656fc751eea6a99fc51d1e1abdf32326cc561 (patch)
tree07e1ea34e03172d4a097bb448ca0b897bbc29d36
parentc135875a4aa12e1eeeff6086642852bc9a42bd85 (diff)
downloaddotfiles_dotdrop-e37656fc751eea6a99fc51d1e1abdf32326cc561.zip
dotfiles_dotdrop-e37656fc751eea6a99fc51d1e1abdf32326cc561.tar.xz
Update git cheat
-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