Last active
September 22, 2015 22:30
-
-
Save jcliberatol/6120e9c25cfb7b96efb8 to your computer and use it in GitHub Desktop.
Revisions
-
jcliberatol revised this gist
Sep 22, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ ## Pushing from a submodule directly to the other repo master branch You can change the names as you like ... ``` git add . git commit -m 'changed submodule' -
jcliberatol revised this gist
Sep 22, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ ## Standing from submodule ``` git add . git commit -m 'changed submodule' git checkout -b temp git branch -f master temp git checkout master git branch -d temp git push origin master ``` ## :D -
jcliberatol revised this gist
Sep 22, 2015 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ ## Standing from submodule ´´´ git add . git commit -m 'changed submodule' git checkout -b temp git branch -f master temp git checkout master git branch -d temp git push origin master ´´´ ## :D -
jcliberatol created this gist
Sep 22, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ //In submodule git add . git commit -m 'changed submodule' git checkout -b temp git branch -f master temp git checkout master git branch -d temp git push origin master //:D