Last active
July 31, 2020 19:19
-
-
Save luceos/3937841 to your computer and use it in GitHub Desktop.
git method to install and update submodules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# commandline to initialize and download submodules | |
git submodule init | |
git submodule update | |
# commandline command to add commit to and close issue | |
# use any of these in your commit message: | |
# - fixes #xxx | |
# - fixed #xxx | |
# - fix #xxx | |
# - closes #xxx | |
# - close #xxx | |
# - closed #xxx | |
# only use #xxx to commit to (but not close) an issue | |
# update a remote repository link | |
git remote set-url origin ssh://newhost.com/usr/local/gitroot/myproject.git | |
# edit and fix merge conflicts | |
git mergetool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment