git一般开发使用流程

来源:互联网 发布:长春典恒网络百度贴吧 编辑:程序博客网 时间:2024/05/21 15:48

1.远程git clone 所有分支

git clone <远程地址> <自定义项目名>

2. 切换分支               

git checkout <branchname>       

3. 合并master ,有冲突则处理,合并后再push一下 

git merge --no-ff master 

git push origin <合并的分支名>    

4. 打tag提测,并push tag  

git tag -a feature_abc_v1.1 -m "this isa abc tag"   

git push origin feature_abc_v1.1  

1 0
原创粉丝点击