先创建一个github仓库,然后进入本地代码文件夹,右键点击 Git Bash Here。 如果是该项目之前没有提交过,那么操作下面第一部分的代码; 如果该项目是一个已经存在的github项目,那么操作第二部分。 出错 如果一直push不上去,出现如下问题。 git push fatal: unable to access 'https://github.com/MMXiaohang/frontend-interview-coding.git/':