diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-02-25 15:08:42 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-02-25 15:08:42 +0300 |
commit | f9f48cebcdfa18b572ae34509e60f095d83dd873 (patch) | |
tree | b137558e68e72a3c178eb8c69f5b47f72ef5d538 | |
parent | 1c9cfadeba5c2ad58969a7741313de3421dada64 (diff) |
Update cheatsheet
-rw-r--r-- | cheatsheet.txt | 6 |
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~ |