Skip to content

Editing a commit's metadata #1143

Answered by Byron
lenormf asked this question in Q&A
Discussion options

You must be logged in to vote

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 or git-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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #972 on February 26, 2021 11:18.