Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Linking an offline repo with a remote repo


So I originally didn't have rights for the code [newly joined and some communication gap], I took an offline repo [created from the remote repo (bit bucket) by a team-member]. Now to push my changes, I need to link with the remote repo [I have access now]. But I dont know what code Url to use [I was hoping to link it to Visual Studio via add remote and everything...]

Might I be guided on what steps to take.

P.S I am cloning the remote repo right now to patch my changes in case nothing works.

P.P.S I am using system git, but I am getting: warning: templates not found C:\Program Files\Git\share\git-core\templates

P.P.P.S C:\Program Files\Git\mingw64\share\git-core\templates\description has a single line: Unnamed repository; edit this file 'description' to name the repository.

2 answers

Never mind. Found the answer. My new repo had the link inside its config file.

0 votes

Try to execute in your local repository

git remote show

Have a look if you have remote links. If you have remote links then execute

git remote show <your available remote link>

check if the link is right. If it is right, then commit and push changes to the repo.

Got it thanks. I set it up and pushed it. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Community Events

Hello from city #68 on the road!

Hello from my sixty-eighth city in a long-term RV trip I started in 2015!  I've traveled all over the US staying in different cities and states for just a few days up to many months. This week I...

44 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you