aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-25 15:08:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-25 15:08:42 +0300
commitf9f48cebcdfa18b572ae34509e60f095d83dd873 (patch)
treeb137558e68e72a3c178eb8c69f5b47f72ef5d538
parent1c9cfadeba5c2ad58969a7741313de3421dada64 (diff)
Update cheatsheet
-rw-r--r--cheatsheet.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/cheatsheet.txt b/cheatsheet.txt
index d3b6906..4413252 100644
--- a/cheatsheet.txt
+++ b/cheatsheet.txt
@@ -10,6 +10,12 @@ Global Setup
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 --unset remote.origin.tagopt
+
+
Undo (move to index) last commit
git reset --soft HEAD~