Created
February 12, 2025 05:47
-
-
Save Devendra0110/e7d95aabf929cc5902f015478e0f5f7d to your computer and use it in GitHub Desktop.
push-remote.txt
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 https://gitlab.com/newproject | |
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