-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove email Id from the commit messages #3163
Comments
Hey @geetha-rangaswamaiah, |
Thank you @LeoNerdoG we will ensure this for our future PRs. |
I don't know if I understand correctly you response above, but in any case you have to sign-off the commits with the same e-mail with which you have signed Eclipse ECA - you have to sign-off every commit with an e-mail, just signing-off commits with your name or acronym or anything else is not valid. If you want to change the e-mail (and have no PRs open), this is fairly easy, just follow the steps below (I will not describe how to perform each step as you can find this on the web):
I suggest that you finish your work on a specific branch (I don't know what your current objectives are), follow the steps above and create PR. If there will be problems, please do not close and reopen PR, just tag me in your PR and I will try to guide you through the process. I think that opening and closing PRs with almost no content is not very usefull 😄 If you have any more questions, please let me know. |
Thank you very much @LeoNerdoG |
This might not be a very trivial thing to do, especially if you don't have the branches anymore. The flow would be:
As I am not a commiter on the project, I am adding @lorthirk and @Coduz to the thread. I generally think chaning the commit history is not a good idea, because...it is called a history for a reason. But if commiters on the project say it's OK or if we find another non-destructive wa to do this, even better. |
Hi @LeoNerdoG I followed the steps but old commits are not modified or deleted in the repo(main branch). I can still see my old PRs with the old commit messages. (Tried with a dummy repo of mine) Say my old commit is
Is it possible to modify this exact commit to
I don't want to create a new commit but want to edit the same commit, so that my email id will not be in any old commits or PRs or anywhere in the git history at all. My point is to delete my email id from all my commits in the entire git history, so that it won't be visible to the public. |
Hey @geetha-rangaswamaiah, As discussed above, this is not a trivial problem to solve and you might need help from the commiters on the project. |
Closing due to inactivity, and not being related to the project development. |
Hi,
Due to signing-off the commits, my id has been exposed in commit messages.
Our company's Security team is asking me to remove my id from all the commits.
Is there a way to remove them?
Could you please guide me on this?
Thank you.
The text was updated successfully, but these errors were encountered: