1.检查分支
git branch -a
![](https://img.haomeiwen.com/i6459713/dbeaeb103ed8106c.png)
2.切换到develop分支下
git checkout develop
![](https://img.haomeiwen.com/i6459713/0c6ff906de5b272f.png)
3.删除本地分支
git branch -d feature/v1.0
![](https://img.haomeiwen.com/i6459713/7815500adcdf0c8b.png)
4.检查分支,并更新远程分支
git remote update origin -p
![](https://img.haomeiwen.com/i6459713/5a1fe4b5cfaa323e.png)
5.切换分支
git checkout release/v1.0
![](https://img.haomeiwen.com/i6459713/98845fdb822cea73.png)
1.检查分支
git branch -a
2.切换到develop分支下
git checkout develop
3.删除本地分支
git branch -d feature/v1.0
4.检查分支,并更新远程分支
git remote update origin -p
5.切换分支
git checkout release/v1.0
本文标题:git 删除本地feature分支,更新到远程新的release
本文链接:https://www.haomeiwen.com/subject/ygsjnqtx.html
网友评论