I use Android Studio with Bitbucket(over Git) for my repositories. I generally get the author name on the revision history as my name (not my Bitbucket username). When I installed Android Studio in a new computer and pushed for the first time, it showed a dialog asking for Git Username and email. Now all my check ins have author as the username. I am not sure how to change the setting, how can I configure the VCS author settings in Android Studio?
Git store the name and the email of two persons for each commit: the committer and the author. The difference between the two is that the author is the person who wrote the changes, while the committer is the person who uploaded them the repository.
Open your terminal and navigate to your git repository. Change Git user name by running: git config --global user.name “Your Name” Change Git user email by running: git config --global user. email “[email protected]”
I don't think there is any UI for changing this in Android Studio, but you can change this from the command line:
git config user.name <your user name> git config user.email <your email>
Add --global if you want this to apply to all Git repositories on your machine.
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