When push git encounter problems "fatal: No destination configured to push to."

This means: fatal: not configured to be pushed to the destination
github must first determine the address of the warehouse at the time of data transmission to a remote warehouse, otherwise you will have the title of errors

First of all can be viewed using git remote -v address is not its own corresponding address
without any display, it said there is no push destination if the input git remote -v, then use the code

git remote add origin '仓库地址'

Address the needs of the warehouse
Copy the address above
so that you can choose to upload a remote git repository is which

In which the remote repository git additions and deletions

git remote -v 
#查看远程仓库
git remote remove origin
# 删除仓库地址
git remote add origin '仓库地址'
# 添加仓库地址
Released two original articles · won praise 0 · Views 32

Guess you like

Origin blog.csdn.net/fanchui5287/article/details/104673651