An error is reported when the local warehouse code (GIT push) is uploaded to the GIT warehouse:
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
Solution:
create a new warehouse in Git warehouse and copy the warehouse URL link:
git remote add origin https://github.com/xxxxx/xxxxx.git
git push -u origin master
Similar Posts:
- fatal:’origin’ does not appear to be a git repository fatal:Could not read from remote re…
- How to Solve Code cloud error: fatal: remote origin already exists
- How to Solve error: failed to push some refs to ‘xxxx’
- [Solved] error: failed to push some refs to ‘xxxx’
- Git submits the code to the remote warehouse with an error: fatal: remote origin already exists
- Git Push hint: Updates were rejected because the remote contains work that you do hint: not have …
- GitHub# fatal: ‘origin’ does not appear to be a git repository
- Git Error: fatal: remote origin already exists.
- [Solved] Git push origin master fatal: ‘origin’ does not appear to be a git repository fatal…
- Git | fatal: refusing to merge unrelated histories [How to Solve]