Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git rebase -i COMMIT^ # NB: trailing caret
- # s/pick/edit/ for desired commit
- # save/exit
- git commit --amend --reset-author --no-edit
- # sets the commit to you (hope you did git config user.{name,email})
- # alternatively to specify the user at-once
- # git commit --amend --author "username <username@fraubsd.org>" --no-edit
- git rebase --continue
- git push --force --all # NB: Hope your clone is full-depth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement