Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio git check in author name

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?

like image 905
Codevalley Avatar asked Feb 12 '15 19:02

Codevalley


People also ask

What is Git author name?

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.

How do I change my Git email name and config?

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]


1 Answers

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.

like image 135
yole Avatar answered Oct 11 '22 15:10

yole