From e37656fc751eea6a99fc51d1e1abdf32326cc561 Mon Sep 17 00:00:00 2001 From: cbreton Date: Fri, 24 Apr 2020 16:28:29 +0200 Subject: Update git cheat --- dotfiles/cheat/git | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dotfiles') 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 -- cgit v1.2.1