From 1c9cfadeba5c2ad58969a7741313de3421dada64 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Feb 2019 08:04:45 +0200 Subject: Update cheatsheet --- cheatsheet.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cheatsheet.txt') 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~ -- cgit v1.1