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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events