Skip to content
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

git修改commit的username和email #128

Open
Bpazy opened this issue Sep 7, 2019 · 0 comments
Open

git修改commit的username和email #128

Bpazy opened this issue Sep 7, 2019 · 0 comments

Comments

@Bpazy
Copy link
Owner

Bpazy commented Sep 7, 2019

git filter-branch -f --env-filter \
"GIT_AUTHOR_NAME='Newname'; GIT_AUTHOR_EMAIL='newemail'; \
GIT_COMMITTER_NAME='committed-name'; GIT_COMMITTER_EMAIL='committed-email';" HEAD~3...HEAD

参考连接

  1. https://stackoverflow.com/a/2920001/4884227
@Bpazy Bpazy added Linux git and removed Linux labels Jan 17, 2020
@Bpazy Bpazy removed the git label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant