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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked yesterday in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

63 views 3 4
View question

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