Last active
April 30, 2023 22:37
-
-
Save nitheeshkm/487514756dd0091e39e5e00df7a77fb6 to your computer and use it in GitHub Desktop.
Revisions
-
nitheeshkm revised this gist
Apr 30, 2023 . 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,5 +1,5 @@ ## merge private repo to public ### Clone the private repository - git clone [email protected]:priv-repo - git checkout main @@ -10,4 +10,6 @@ ### Public repo - git remote add public [email protected]:publ-repo - git push -u public new-branch-dev <!--- [Link](https://docs.esmvaltool.org/en/latest/community/private_repository.html) ---> -
nitheeshkm created this gist
Apr 30, 2023 .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,13 @@ ## merge private repo to public - [Link](https://docs.esmvaltool.org/en/latest/community/private_repository.html) ### Clone the private repository - git clone [email protected]:priv-repo - git checkout main - git pull - git checkout -b priv-branch-dev - git push -u origin new-branch-dev - git push ### Public repo - git remote add public [email protected]:publ-repo - git push -u public new-branch-dev