Created
June 23, 2020 18:23
-
-
Save eduardopintor/0d4f335a94796cafd5eaf5a07f6671ac to your computer and use it in GitHub Desktop.
Push an existing Git repository
This file contains 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 characters
cd existing_repo | |
git remote rename origin old-origin | |
git remote add origin [repository] | |
git push -u origin --all | |
git push -u origin --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment