Git-Flow 假设开发人员在本地存储库中创建功能分支。 JIRA 中的按问题分支工作流程假设开发人员在远程存储库中创建功能分支。 这些工作流程可以协同工作吗? 另外,Eclipse Git-Flow 插件是否可以与 JIRA 中的按问题分支工作流程配合使用?
最佳答案
是的!
我必须自己解决这个问题。
- 通过 JIRA 创建功能分支
[sri@localhost scripts]$ git pull --all
Fetching origin
From ssh://pm.summationresearch.com:7999/l20/21-6016-xx-filesystem
* [new branch] feature/TX6K-188 -> origin/feature/TX6K-188
Already up to date.
[sri@localhost scripts]$ git feature list
git: 'feature' is not a git command. See 'git --help'.
[sri@localhost scripts]$ git flow feature list
No feature branches exist.
You can start a new feature branch:
git flow feature start <name> [<base>]
[sri@localhost scripts]$
但是我的功能没有显示!
[sri@localhost scripts]$ git checkout -b feature/TX6K-188 remotes/origin/feature/TX6K-188
Branch 'feature/TX6K-188' set up to track remote branch 'feature/TX6K-188' from 'origin'.
Switched to a new branch 'feature/TX6K-188'
[sri@localhost scripts]$ git flow feature list
* TX6K-188
[sri@localhost scripts]$
啊啊!就是这样!
关于eclipse - JIRA 中的 Git-Flow 和按问题分支工作流程可以协同工作吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38441871/