-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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
Labels
No labels