Advertisement
devinteske

Fix author on github

Jan 10th, 2016
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. git rebase -i COMMIT^ # NB: trailing caret
  2. # s/pick/edit/ for desired commit
  3. # save/exit
  4. git commit --amend --reset-author --no-edit
  5. # sets the commit to you (hope you did git config user.{name,email})
  6. # alternatively to specify the user at-once
  7. # git commit --amend --author "username <username@fraubsd.org>" --no-edit
  8. git rebase --continue
  9. git push --force --all # NB: Hope your clone is full-depth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement