diff --git a/misc/git_cheat_sheet.txt b/misc/git_cheat_sheet.txt new file mode 100644 index 0000000000..080d1c7807 --- /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