diff options
author | cbreton <corentin.breton@fullsave.com> | 2020-04-24 16:28:29 +0200 |
---|---|---|
committer | cbreton <corentin.breton@fullsave.com> | 2020-04-24 16:28:29 +0200 |
commit | e37656fc751eea6a99fc51d1e1abdf32326cc561 (patch) | |
tree | 07e1ea34e03172d4a097bb448ca0b897bbc29d36 /dotfiles/cheat/git | |
parent | c135875a4aa12e1eeeff6086642852bc9a42bd85 (diff) | |
download | dotfiles_dotdrop-e37656fc751eea6a99fc51d1e1abdf32326cc561.tar.xz dotfiles_dotdrop-e37656fc751eea6a99fc51d1e1abdf32326cc561.zip |
Update git cheat
Diffstat (limited to '')
-rw-r--r-- | dotfiles/cheat/git | 3 |
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 |