Git のフィーチャー ブランチ ワークフロー
Git のフィーチャー ブランチ ワークフローを使用して、Bitbucket で同僚との作業を効率的に開始できます。このワークフローでは、メインの master ブランチから伸びる各ブランチに、すべての機能開発タスクが割り当てられます。これによって、複数の開発者がメイン コードに触れることなくそれぞれの機能開発に取り組めます。
| |
次を作成する: | |
更新後、変更を追加、コミット、およびプッシュするWork on the feature and make commits like you would any time you use Git. When ready, push your commits, updating the feature branch on Bitbucket. Learn more | |
コードのレビューを依頼するTo get feedback on your code, create a pull request in Bitbucket. From there, you can add reviewers and make sure everything is good to go before merging. Learn more | |
フィードバックを解決する同僚がコメントを追加して、コードを承認しました。コメントをローカルで解決して、変更を Bitbucket にコミットおよびプッシュします。更新内容がプル リクエストに表示されます。 | |
プル リクエストをマージするBefore you merge, you may have to resolve merge conflicts if others have made changes to the repo. When your pull request is approved and conflict-free, you can add your code to the master branch. Merge from the pull request in Bitbucket. Learn more |
While this page only describes how to use the Feature Branch workflow, its use of branches and pull requests could apply to other processes, including Gitflow. Check out Atlassian's Getting Git Right website for descriptions of Gitflow and other Git workflows.
この内容はお役に立ちましたか?