Nyle
Nyle

Reputation: 13

Bitbucket Origin does not appear to be a git repository

Im trying to init a new project to Bitbucket and according to Bitbucket documentation. I have used the following commands

git remote set-url origin urlofthegitrepo

git push -u origin master

but i get Origin does not appear to be a git repository Error.

Upvotes: 1

Views: 1380

Answers (1)

Diluk Angelo
Diluk Angelo

Reputation: 1503

Hey try these commands.

Instead of

git remote set-url origin url

try

git remote add origin url

And then Add and commit and finally push

git add .
git commit -m "first commit"
git push -u origin master

Try these and see Cheers xD

Upvotes: 1

Related Questions