Cannot add remote git repository

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

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
Community showcase
Published Sunday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

108 views 0 7
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you