1、clone项目
git clone [projectUrl]
2、提交代码
git add fileName
git commit fileName
3、分支上提交代码
git push origin branchName
主干上合并代码:git push origin master
4、合并主干代码到分支
git merge master branchName
git status 查看本次merge提交的东西
git push origin branchName
1、clone项目
git clone [projectUrl]
2、提交代码
git add fileName
git commit fileName
3、分支上提交代码
git push origin branchName
主干上合并代码:git push origin master
4、合并主干代码到分支
git merge master branchName