且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

吉拉(Jira):将现有的git分支分配给问题

更新时间:2023-01-25 23:22:11

此处是Ex-Stash开发人员.

ex-Stash developer here.

是,不是.通过UI创建分支只是一种方便.重要的是该名称包含JIRA键.如果只有一个开发人员在分支上工作,只需使用适当的名称来重命名(删除+添加)分支就很容易了.

Yes and no. Creating the branch though the UI is just a convenience. The important thing is that the name contains the JIRA key. If only one developer is working on the branch, it's fairly easy to just rename (delete + add) a branch with the appropriate name.

git checkout old-branch
git push -u origin old-branch:JIRAKEY-1234-something
git push origin :old-branch

有帮助吗?