赞
踩
git init
git add .
git commit -m 'v1.0'
git remote add origin 【仓库链接】
git push -u origin "master"
git remote add origin 【仓库链接】
git push -u origin "master"
git branch newbranch
git checkout newbranch
- 更改之后
// 提交更改内容
git add .
git commit -m 'v2.0'
// 远程创建分支
git push origin newbranch
git checkout master
git merge newbranch
git push
git remote add origin 【仓库链接】
git branch new
git checkout new
git add .
git commit -m 'update'
git push origin new
git fetch origin master
git merge origin/master --allow-unrelated-histories
git add .
git commit -m "update"
git checkout master
git merge new
// 重新提交
git add .
git commit -m 'update2.0'
// 远程将信息
git push -u origin master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。