Need to pull a project from a repo and then push them into a new created repo(Empty repo). How to do that?
Hi @ayush shrivastava ,
Once you pull the repo, you can change the remote git repo by the below command.
git remote set-url origin new.git.url/here
(see git help remote
) or you can just edit .git/config
and change the URLs there
Here is some additional documentation: https://www.atlassian.com/git/tutorials/syncing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.