git - How to change the author after rebase in SourceTree -



git - How to change the author after rebase in SourceTree -

when edit other peoples branches, of work set under else's name. not not helpful me, ever looks @ code might addressing wrong person fixes. aware in git can write

class="lang-bash prettyprint-override">git commit -m "myfirstcommit" --author="example name <someone@example.com>"

and not address exact problem. there way in sourcetree alter author. if there not way, next best thing?

as others have mentioned in comments, utilize interactive rebase this. it's matter of hitting 'edit commit' (or amend? forget). when sourcetree drops out during interactive rebase process allow edit can re-commit hitting 'amend commit' alternative in commit view changing author there instead. creates whole new commit sha, too. nail 'continue rebase' "repository" menu 1 time you're done , it'll move on next commit.

cheers

git atlassian-sourcetree

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -