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

Cannot add remote git repository

tentimes 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events