From f9f48cebcdfa18b572ae34509e60f095d83dd873 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 25 Feb 2019 15:08:42 +0300 Subject: Update cheatsheet --- cheatsheet.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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~ -- cgit v1.1