https://support.yamnet.com/bitbucket/projects/CDP
This is a high level description, if it is not clear ask! Or discuss what is missing to improve documentation
NOTE: commits in feature/branch should be squashed to a single commit before PR into release is created. Adjust commit message to reflect only the changes. History will be lost for sure, but for readability this is much better.
On local machine you have to figure out the number of commits on your branch. Most IDE can visualize a graph with all the commits on the branch, so count. From the command line:
git rebase -i HEAD~<number of commits>
This is interactive option. For each commit you must replace pick with squash and close/save when done. This opens the commit messages, Commit messages that does not make sense or not following the commit message standard (see below) can be adjusted. Remove any intermediate messages that does not make any sense at all, like the so often seen "Typo". Save/close the file. If everything went well ones can push the feature branch to origin. Probably have to --force the push.
Always add the ticket identifier to the commit message:
B2C-9658:: Describe what changed in this commit; Describe another change in this commit related to B2C-9658.
NOTE: The setup is open for discussion at any time!
branch - feature/*:
branch - release/*:
branch - master:
Pull Request (PR) release/* into master:
Pull Request (PR) feature/* into release/*:
Tags:
TODO: Not clear if there is a standard in other projects, get in touch with development team
With images
Security |
---|