1:建立一個要提交的文件
2 git init 初始化
3 git remote add origin https://github.com/maohongli/cang.git 創建遠程鏈接
4 git status
5 git add -A 建立
6 git commit -m "是"
7 git push -u origin master 推送git
用戶名git config --global user.email 1031815407@qq.com 密碼 git config --global user.name "maohongli"github
分支合併rem
1 git checkout -b shop 切換分支
2 git add -A 建立
3 git push -u origin shop 推動
4 git checkout master 切換master
5 git merge shop 合併shop分支
6 git push 推動it