I making project for my friend but after few commits i see the problem. I thinked if im log in on his account it will be created like him. But it was created my other author(me). Can i change this on gitlab ? If is options to change it without changing data commits.
Yes you can. Clone the repo locally, then use filter branch
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "John Doe" ];
then export GIT_AUTHOR_NAME="My Friend"; export [email protected];
fi; git commit-tree "$@"'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With