Hello Team,
This last step is where my issue is situated. I would like to see that the author of the commit remains 'XYZ' as he/she did the code changes and not the name of the person that did the merge.
Anybody has come across this or any suggestions which will help me to get this done using any add-on or scripting would be appreciated.
Thanks,
Hi @Yogesh Mude ,
You are probably using 'Merge commit --no-ff' as your merge strategy. Then the person who is merging will always create a merge commit and therefore is the author of the commit. If you don't want that you can either let the person who created the pull request merge the pull request. Or you can another merge strategy (e.g. fast-forward).
Note that the first solution a process change (the developer stays responsible for getting his /her changes into the main branch) and the second is a change in the workflow, the developer needs to date with the main branch in order to fast-forward).
Rudy
Hi Rudy,
Thanks for the suggestions.
If possible, can you please elaborate a little bit more on fast-forward..the developer needs to date with the main branch in order to fast-forward).
Thanks,
Yogesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it is already very well explained by Atlassian: https://blog.developer.atlassian.com/pull-request-merge-strategies-the-great-debate/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.