I know my question looks similar to some questions, but I think that my problem is something new maybe.
$ git init # Make a new repository
$ git add -A # Add all the files which have not been added
$ git commit -m "Initialize repository"
$ git push origin master -f
My problem is, when I command git push origin master -f
, it shows me this error:
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Could you please give me some ideas?