Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

update submodule

submodule@example:~$ git clone --recurse-submodules https://gitlab.com/cameronmcnz/surface.git
submodule@example:~$ cd sur*
submodule@example:~$ git submodule update --remote
submodule@example:~$ git add .
submodule@example:~$ git commit -m "git submodule updated"
submodule@example:~$ git push origin
Source by www.theserverside.com #
 
PREVIOUS NEXT
Tagged: #update #submodule
ADD COMMENT
Topic
Name
7+7 =