GitHub-提交本地代码

教你上传本地代码到github

GitHub常见操作和常见错误(fatal:remote origin already exists)(fatal: Couldn't find remote ref master)

打开 git bash
cd到项目目录
git init
git add .
git commit -m "注释语句"
建立repository
git https://balabala( ssh 就改成ssh)
git pull origin master
git push -u origin master
结束!

你可能感兴趣的:(GitHub-提交本地代码)