Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git submodule update

#https://chrisjean.com/git-submodules-adding-using-removing-and-updating/

#it checks out the specific version of the project and respective submodule recursively (if applicable)
#but not within a branch.
git submodule update --init --recursive

#or
git submodule init && git submodule update --recursive
Comment

update submodule git

git submodule init
git submodule update
Comment

submodule update

git submodule update --remote
Comment

update submodule

$ git submodule update --init --recursive
Comment

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
Comment

git update submodule to latest

cd projB/projA

git pull origin master
Comment

PREVIOUS NEXT
Code Example
Shell :: install fdupes duplicate content finder on linux 
Shell :: reload crontab linux 
Shell :: useful git commands 
Shell :: color logging python 
Shell :: combine two document together lnux 
Shell :: apt vs homebrew 
Shell :: check packages in macos 
Shell :: install pycharm in ubuntu 
Shell :: install torch 
Shell :: command not found: nvm 
Shell :: check python running process linux 
Shell :: linux signals 
Shell :: grep from file 
Shell :: how to install bootstrap in angular 11 
Shell :: google translate for linux 
Shell :: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly 
Shell :: ubuntu docker host ip 
Shell :: give executable permission to a file 
Shell :: $path mac 
Shell :: add component angular 
Shell :: set origin url git 
Shell :: ffmpeg gif images 
Shell :: batch script loop 
Shell :: port kill masocs 
Shell :: how to add a custom zsh aliases 
Shell :: display group of username mac 
Shell :: git abort conflict stash 
Shell :: how to install pandoc 
Shell :: how to reset all github credentials 
Shell :: react-icons 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =