Setting the author in a codespace to somebody else does not show that you are the committer #45065
-
Select Topic AreaBug BodyI have 2 example commits, using
In the local commit, it shows that @ghost is the author, but I am the committer, as expected. However, the commit made in the codespace doesn't show that I committed on behalf of @ghost. I guess this is because the committer is I wonder if it would be possible to make the committer the user of the codespace, instead of Also, apologies if codespaces is not the right category. I'm not sure if this should be resolve in how codespaces behave, or how the web UI shows commits. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @spenserblack 👋
However, you could make another author commit in a Codespace without passing Example - Command - |
Beta Was this translation helpful? Give feedback.
Hi @spenserblack 👋
GitHub <noreply@github.com>
is the email address for the key we use for GPG signing, so in order for the signature to be valid we have to use that email.However, you could make another author commit in a Codespace without passing
--no-gpg-sign
to thegit commit
command.Example -
Command -
git commit --allow-empty --author="Josh Spicer <joshspicer@github.com>"
It created the commit correctly - samruddhikhandale/cs-examples@b5a0b72