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 11 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

158 views 0 5
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