Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
I’m surprised there’s not more discussion of the
gitGitHub co-author feature here.A simple co-author line in the final commit sounds like an appropriate way to use the best final code while also giving due credit.
I believe that is just a GitHub feature. Trailers are not some special field in the commit, just things at the end of the commit message. Sort of like an email signature. (Not a great example, I know.) My point is that the use of trailers will vary from project to project.
Good point!
It looks like GitLab doesn’t have Co-Author support yet, yet.
At least - as part of the git history - co-author notes in commits can survive a migration away from GitHub.
It’s not clear if the current GitHub implementation will be the long term accepted standard, of course.