Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add submodule

$ git submodule add <remote_url> <destination_folder>
Comment

git submodule add

# Submodule is the git feature allowing a repository to include another 
# repository, with control on the branch of shared repository that is 
# considered by the host repository.

# In order to, for your own application, to create a submodule 
# associating the shared repository's main branch, do the following:
"""
git submodule add -b main [URL to Git repo] 
git submodule init
"""
# Now you can do
"""
git add .
git commit -m "folder is now a reusable result"
git push
"""
Comment

PREVIOUS NEXT
Code Example
Shell :: how to access adb globally on mac 
Shell :: arch linux chinese fonts 
Shell :: open a folder linux 
Shell :: error installing drivelist npm 
Shell :: install qemu-img 
Shell :: linux append group 
Shell :: ubuntu check user groups 
Shell :: operator mono github 
Shell :: git lines per user 
Shell :: connect emulator to localhost 
Shell :: remove apt docker 
Shell :: how to stop tomcat from cmd 
Shell :: bash: /bin/rm: Argument list too long 
Shell :: tar.gz terminal 
Shell :: C:UsersMY PCAppDataRoaming pm/node_modules/node/bin/node: line 1: This: command not found 
Shell :: how to enable migration in package manager console 
Shell :: bash use cat in sed command 
Shell :: install spotify ubuntu 
Shell :: get macadress windows 
Shell :: how to upload laravel project on github using command 
Shell :: bash limit memory use of a function 
Shell :: how to remove every space in a string in bash 
Shell :: git delete branch 
Shell :: git remove origin 
Shell :: count number of lines of code in git repo 
Shell :: add role to node kubernetes 
Shell :: find folder size in linux 
Shell :: linux kustomize install 
Shell :: sqlmap POST request injection 
Shell :: ubuntu microphone does not work 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =