Reputation: 13
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
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