Git rebase change author? -


this question has answer here:

so stupidly made 3 commits on machine not configured git (no author or email) , want change 3 commits (have not been pushed) authors suppose be.

i know git commit --amend can change author, how can 3? know rebase can change message. there way change author?

you can use interactive rebase. answer post gives example: change commit author @ 1 specific commit.

the author asks changing author @ specific commit, interactive rebasing can used change authors of multiple commits if edit commits wish change.

other potential useful techniques related interactive rebasing found in pro git book http://git-scm.com/book/en/git-tools-rewriting-history, including squashing, redordering, editing messages, etc.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -