问答详情
源自:2-4 上传代码至github

最后一步上传不了,能看懂,但手不懂

PS C:\Users\msi\Desktop\2022\4\Big rabbit> git push -u origin master

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/xietiantian98/Big-rabbit.git/'

PS C:\Users\msi\Desktop\2022\4\Big rabbit> git push -u origin master



PS C:\Users\msi\Desktop\2022\4\Big rabbit> git push -u origin master

fatal: 鍙戦€佽姹傛椂鍑洪敊銆?fatal: 鏃犳硶杩炴帴鍒拌繙绋嬫湇鍔″櫒

fatal: 鐢变簬杩炴帴鏂瑰湪涓€娈垫椂闂村悗娌℃湁姝g‘绛斿鎴栬繛鎺ョ殑涓绘満娌℃湁鍙嶅簲锛岃繛鎺ュ皾璇曞け璐ャ

€?20.205.243.166:443


提问者:慕仔8415870 2022-04-24 20:13

个回答

  • JasonXiang
    2022-05-02 17:15:55

    下载一个github for desktop吧

  • chevyzhang
    2022-04-30 14:57:46

    git branch, 看一下是不是在”main“这个branch下面;如果不是,是”master“,就:git branch -m master main; 把分支名字从master 改为 main,然后再上传”git push -u origin main, 就可以了;(github中显示文件在“main"分支中)