'develop' does not appear to be a git repository

I have edited the last commit in the local repository and would now like to upload it online on branch develop. My project is https://github.com/JonkiPro/popcorn/tree/develop

When I use the command

git push --force develop

receives a message

Jonatan@Jonki-PC MINGW64 ~/Documents/GitHub/popcorn (develop)
$ git push --force develop
fatal: 'develop' 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.
git push --force origin develop

Push to the develop branch of the origin repository.

Sometimes you don't have a local REF for pushing that branch back to the origin. Try

git push origin develop:develop -f

This explicitly indicates which branch to push to (and from)

Comments
  • I guess you are trying to push to branch(not master). try git push origin develop
  • @Priy No guess. The OP said would now like to upload it online on branch develop.