git报错——fatal: remote master already exists

The reason for this problem is that the remote host already exists . So we need to delete the repository first and then add the remote Git repository

Delete: git remote rm origin (origin is the name of your remote branch)

Add: git remote add origin XXX (XXX is your remote warehouse address)


Advertise: Taobao Tmall internal discount group, add me to WeChat to pull you into the group 18801014156

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325622069&siteId=291194637