Knowledge map advanced must read: read how large-scale map data efficient storage and retrieval>>>
1. fatal: ‘origin’ 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.
Fatal: “origin” is not a git repository
Fatal: unable to read the remote repository
Make sure you have the correct access rights and that the repository exists
Solution: 1. First, check that your origin is set to run
git remote -v
Display
orgin [email protected] :chaorwin/chaorwin.git (fetch)
orgin [email protected] :chaorwin/chaorwin.git (push)
“Origin” does not exist
2. Rename it, or change the URL, delete it, and then add the correct one
git remote remove orgin
3. Add one
git remot add origin [email protected] :chaorwin/chaorwin.git
4. git push origin master