Question Details

No question body available.

Tags

git visual-studio-code

Answers (2)

Accepted Answer Available
Accepted Answer
May 26, 2026 Score: 2 Rep: 9,089 Quality: Medium Completeness: 30%

VS Code doesn't support amending a commit's author natively via its UI. However, the extension Commit with Date & Identity could be what you're looking for. Just type ctrl+P, enter the extension's name, and select the desired repo. A tab will open up where you can enter a new author for a new commit or amend the current head.

May 26, 2026 Score: 0 Rep: 31,209 Quality: Low Completeness: 70%

This is a follow-up answer to the accepted answer, which I agree with.

Regardless of who's driving, if you're doing it together, once you've decided who will be the commit author, consider also adding a trailer to your commit message with the exact syntax of:

Co-authored-by: name 

This is a fairly common way of indicating that two people worked on a commit together. If you happen to be using GitHub, it will parse it and display both users as the author of that commit with clickable user links. However, only the commit's "author" will see the commit in their contribution graph. (I don't know of other tools that utilize Co-authored-by, yet, but it's possible others will follow suit in the future.)