Skip to content

Option to preserve commit logs #41

@ikedam

Description

@ikedam

gitmask squashes all commits into one commit with the message "anonymous commit" by ghost.
Though it removes identifications completely, it also loses much information in the change. Commit messages are often important in development.

It would be nice if there's an option to preserve commit logs and replaces the committer and the author with ghost to remove identifications:

  • Maintainers can get the outline of the request from commit messages.
  • The pull request can be more descriptive by splitting commits in appropriate logical units.

I believe it can be done by running this command in the branch created from the bundle instead of merging that branch into the target branch and squashing commits:

git rebase -f  ${destBranchName} -x "git commit --amend --reset-author"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions