Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any thoughts into adding more than one author? #96

Open
varelycode opened this issue Jul 1, 2021 · 4 comments
Open

Any thoughts into adding more than one author? #96

varelycode opened this issue Jul 1, 2021 · 4 comments

Comments

@varelycode
Copy link

Often times our team finds ourselves trio-ing or mobbing. Would be nice if there was a git mob or git party option that allows more than two authors initials to be added as contribution.

@jszwedko
Copy link
Member

Yeah, that'd be a good idea. We do have the option to rotate the committers for "mob programming", but we could add all as Co-Authored-By.

@kynetiv
Copy link

kynetiv commented Jul 22, 2021

...but we could add all as Co-Authored-By.

Mobbing support seems partially working already. I've noticed that it will add the additional Co-Authored-By lines on a commit when I have export GIT_DUET_CO_AUTHORED_BY=1 set.

The only problem I've seen though is that a git commit --amend, will re-apply all the Co-Authored-By lines again, stacking them on top of any existing Co-Authored-By lines.

@halfghaninne
Copy link

Could someone clarify for me where this GIT_DUET_CO_AUTHORED_BY gets set? Is this in my .gitconfig?

@jszwedko
Copy link
Member

jszwedko commented Mar 5, 2024

Could someone clarify for me where this GIT_DUET_CO_AUTHORED_BY gets set? Is this in my .gitconfig?

It's an environment variable that you would set in your shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants