aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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~