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

remote origin already exists

Deleted user May 15, 2013

Hi I have a problem with git actually.

I generate a new repsoitory on bitbucket. Then I create a new folder with a text file to test it and run the following commands:

C:\Users\xx\Desktop\a> git init
Initialized empty Git repository in C:/Users/xx/Desktop/a/.git/
C:\Users\xx\Desktop\a [master +1 ~0 -0 !]> git remote add origin
fatal: remote origin already exists.

why I get the remote origin already exists? its a fresh created folder with just one file.

1 answer

I had the same problem. I resolved the issue by removing the [remote "origin"] section from the global config file at "C:\Program Files\Git\etc\gitconfig".

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Teamwork

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

156 views 5 8
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