Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git push submodule changes to fork

cd some-library   # this is entering the submodule
git remote -v     # just to see what you have; I guess origin only
git remote add myrepo git-URL-of-the-fork
git checkout -b my_new_idea
git push -u myrepo my_new_idea
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #push #submodule #fork
ADD COMMENT
Topic
Name
7+1 =