创建的本地工程第一次上传到github的步骤如下:
1、本地工程
git init
git add .
git commit -am "Hello"
2、关联远程仓库
git remote add origin https://github.com/tingzi/savePicture.git
git fetch origin master:remote_master
git rebase remote_master
git push origin master:master
创建的本地工程第一次上传到github的步骤如下:
1、本地工程
git init
git add .
git commit -am "Hello"
2、关联远程仓库
git remote add origin https://github.com/tingzi/savePicture.git
git fetch origin master:remote_master
git rebase remote_master
git push origin master:master