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 https://xx@bitbucket.org/xx/xx.git fatal: remote origin already exists.
why I get the remote origin already exists? its a fresh created folder with just one file.
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.