aboutsummaryrefslogtreecommitdiff
path: root/cheatsheet.txt
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-02-19 08:04:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-02-19 08:04:45 +0200
commit1c9cfadeba5c2ad58969a7741313de3421dada64 (patch)
tree2a2c7f84bb23b7b82f00356544e27f693ccda495 /cheatsheet.txt
parent2a2e45eaf65bc984b83a301f6d2569bcf90f1873 (diff)
Update cheatsheet
Diffstat (limited to 'cheatsheet.txt')
-rw-r--r--cheatsheet.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/cheatsheet.txt b/cheatsheet.txt
index 93fff61..d3b6906 100644
--- a/cheatsheet.txt
+++ b/cheatsheet.txt
@@ -4,6 +4,12 @@ Global Setup
git config --global color.status.branch magenta
+
+ # This makes sure that changes to tags are also fetched.
+ #
+ git config --global remote.origin.tagopt --tags
+
+
Undo (move to index) last commit
git reset --soft HEAD~