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: 

Cannot add remote git repository

tentimes
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!
March 5, 2013

Hi,

When I type:

git remote add origin git@bitbucket.org:tentimes/rtut.git

I get the response:

fatal: Not a git repository (or any of the parent directories): .git

The repository is valid and is a private repository of mine.

Can anyone help me get this repository added so I can checkout the source please?

Many thanks,

Kevin

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stefan Saasen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2013

Hi Kevin,

are you executing the "git remote add..." command within an existing git repository? The error message suggests otherwise.

Do you instead want to clone the repository?

git clone git@bitbucket.org:tentimes/rtut.git

HTH,

Stefan

TAGS
AUG Leaders

Atlassian Community Events