-
Hi! Is it possible to edit a commit's metadata (author, committer etc) using only a I see that we can get a list of commit instances that reflect the history of a target branch, but could I change the attributes of those instances (e.g. the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The git commit history is immutable and thus append-only. Adjusting anything requires rewriting parts of the history. This can be done easiest using Even though this issue is closed, please feel free to add further comments or remarks. |
Beta Was this translation helpful? Give feedback.
The git commit history is immutable and thus append-only. Adjusting anything requires rewriting parts of the history.
This can be done easiest using
git rebase -i
orgit-filter-branch
. Equivalent functionality could be implemented in GitPython, but it's certainly very close to the 'metal'.Even though this issue is closed, please feel free to add further comments or remarks.