diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-16 17:10:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-16 17:10:49 +0200 |
commit | 05f1a7ab5c961f968b85892093288d1d7031741a (patch) | |
tree | 355b150fe37178a0ae3d7f0b3cab1193e233d0cd | |
parent | f9f48cebcdfa18b572ae34509e60f095d83dd873 (diff) |
Update git cheatsheet
-rw-r--r-- | cheatsheet.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cheatsheet.txt b/cheatsheet.txt index 4413252..42efbcd 100644 --- a/cheatsheet.txt +++ b/cheatsheet.txt @@ -5,14 +5,13 @@ Global Setup git config --global color.status.branch magenta - # This makes sure that changes to tags are also fetched. + # This makes sure that changes to tags are also fetched. The second + # version in addition makes sure they are overriden (required from + # git 2.20.0). # git config --global remote.origin.tagopt --tags - - # Starting 2.20 the above doesn't work anymore and should be replaced: - # - git config --global remote.origin.fetch "+refs/tags/*:refs/tags/*" + git config --global remote.origin.fetch '+refs/tags/*:refs/tags/*' git config --global --unset remote.origin.tagopt |