Name feature/bugfix branch having JIRA ticket # in name
When committing don't put JIRA ticket # in commit message
When done with development in that branch, merge it to master/develop branch, but make sure that JIRA ticket # is in merge commit message
Delete the feature/bugfix branch
This will make sure that:
During the development you know which branch is linked to that JIRA ticket
Will not poison your commit messages with JIRA ticket #
When merged the information about name of feature/bugfix branch and its JIRA ticket # is kept and still linked to JIRA
That repo then can be brought to any different bug-tracking/repository hosting system without having it too linked to Atlassian stack. If this would be needed in future...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The best practice would be:
This will make sure that: