Skip to content

Instantly share code, notes, and snippets.

@nitheeshkm
Last active April 30, 2023 22:37
Show Gist options
  • Save nitheeshkm/487514756dd0091e39e5e00df7a77fb6 to your computer and use it in GitHub Desktop.
Save nitheeshkm/487514756dd0091e39e5e00df7a77fb6 to your computer and use it in GitHub Desktop.
Merge private repository into public after development

merge private repo to public

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment