[已解決]Android Studio/ IDEA項(xiàng)目上傳GitHub報(bào)錯(cuò)
有三種情況

1. 控制臺輸出:
Can’t finish GitHub sharing process
Successfully created project ‘項(xiàng)目名’ on GitHub, but initial commit failed:
*** Please tell me who you are.?
Run?
git config --global user.email “you@example.com”?
git config --global user.name “Your Name”?
to set your account’s default identity.?
Omit --global to set the identity only in this repository.?
出現(xiàn)在第一次使用Git或曾經(jīng)修改過用戶名
解決辦法已經(jīng)很明確, 運(yùn)行Git_CMD, 按照如上指令設(shè)置郵箱和姓名

2. 控制臺輸出:
Can't finish GitHub sharing process
Successfully created project '項(xiàng)目名' on GitHub, but initial push failed:
unable to access 'https://github.com/用戶名/項(xiàng)目倉庫/': OpenSSL SSL_read: Connection was reset, errno 10054
首先檢查是否設(shè)置了代理
取消代理項(xiàng)
修改代理項(xiàng)
需要去查看自己的軟件端口號, Clash默認(rèn)是7890

3. 在Android Studio內(nèi)分享項(xiàng)目到GitHub時(shí)remote已存在
換一個(gè)名字或者在VCS/Git -> Manage Remotes...選項(xiàng)卡中刪除之前的項(xiàng)目

以上問題在IDEA中同理
希望能幫到你?