i did git commit -m "efiei"
after that for pushing it to repository i used git push origin master
then this error came
fatal: 'URL_TO_YOUR_REPO' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
and when i am doing git status it is showing
On branch master
nothing to commit, working tree clean
Plz help
Hello Bhupesh,
Welcome here I think it's your first commit and push so, can you please once try below command to push.
git push -u origin master
NO ITS NOT WORKING
IT IS SAYING NOTING TO COMMIT AND
fatal: 'URL_TO_YOUR_REPO' does not appear to be a git repository
fatal: Could not read from remote repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you get from
git remote -v
It should be the address to your repository and look something like this:
origin git@bitbucket.org/<workspace>/<repo_slug>.git (fetch)
origin git@bitbucket.org/<workspace>/<repo_slug>.git (push)
If not, you can update your repository URL using this tutorial:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes my origin was different so i changed it and then performed git push --force origin master after doing this it worked THANKS A LOT TYLER AND SAGAR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.