From 6c3cba4d64abc4204786ee72cd27ff74e739f2b8 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 31 Mar 2017 13:46:32 -0400 Subject: [PATCH] git docs --- misc/git_cheat_sheet.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 misc/git_cheat_sheet.txt diff --git a/misc/git_cheat_sheet.txt b/misc/git_cheat_sheet.txt new file mode 100644 index 0000000000..ee03e43b0f --- /dev/null +++ b/misc/git_cheat_sheet.txt @@ -0,0 +1,23 @@ +========================================= +New remote tag: + +git tag -a TAGNAME -m "tag TAGNAME" +git push origin TAGNAME + + +========================================= +New remote branch: + +git checkout -b BRANCHNAME +git push -u origin BRANCHNAME + + +========================================= +Download submodules: + +git submodule update --init + +========================================= +Refresh submodules: + +git submodule update --recursive --remote