The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to pull a project from a repo and then push them into a new created repo. How to do that?

ayush shrivastava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2020

Need to pull a project from a repo and then push them into a new created repo(Empty repo). How to do that?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Mehmet A _Bloompeak_
Atlassian Partner
June 30, 2020

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 

Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 6, 2020

Here is some additional documentation: https://www.atlassian.com/git/tutorials/syncing

TAGS
AUG Leaders

Atlassian Community Events