...
The commit message should describe what has changed. If the change relates to a JIRA ticket it should be prefixed with the ticket identifier. This will then create links in Jira/BitBucket (note that this doesn't work if you are working cross instances - for example using the N3 Jira and Internet Bitbucket).
No Formatcode |
---|
git commit -m "RR-123 I changed function val_banana to add a check for apples" |
...
This is useful when you try to Push changes to Services to Master and it gets rejected with a message that you need to do this via a pull request.
Run:
git fetch origin
git rebase origin/master
git
reset
--hard
origin/master
(Check
before
doing
this
that
git
status
is
clear)
...