Removing entry from git authors dropdown / Default author

Is it possible to remove entries from the git authors drowdown (shown during commit)?

Or can I set a default author somewhere?

If not, these would be very useful features to have.

Comment actions Permalink
You need to set the author in the dialog only if you're committing changes made by someone else. Otherwise, the author and the committer will be the same; they are specified in the system-wide Git configuration (see for more information).
Comment actions Permalink
Right! The obvious solution... ;-)

Thanks for your help.
Comment actions Permalink
The entries from the git authors dropdown list is stored in <project_dir>/.idea/workspace.xml

I'm guessing PyCharm first compiles the list by looking at the project's commit history. Normally one shouldn't need to edit the list by hand, but I found myself having imported a project that contained my old email in its commits. Being the sole user of the repo, I re-wrote history in git to update the email, but the old email kept showing up in PyCharm's dropdown list. It has no effect whatsoever (since it is by default hidden under the list and thus overridden by git config and email), but being OCD, I dug into workspace.xml and deleted it :)
Comment actions Permalink

Yo Patrick! I believe Mr Jemerov has described exactly how the system works and what the use case was for inserting a different author's e-mail address into the Git Commit Changes dialog, as a response to your question.

For me, my use case was making a typo! haha!   :)  

I also want to know if there is a way to remove this entry easily (via the jetbrain's Rubymine interface) without requiring an edit of the application's state or settings files?

Thank you to Juan's helpful suggestion. 

Many thanks to all!



Comment actions Permalink

BTW, Juan's suggestion is a solution. Initially, I thought this was in the app's settings but indeed this is per-project. 

Check all your projects from your current directory:

find . -name .idea | xargs grep -R matchstring {}*



Comment actions Permalink

Now, in Rubymine 2016.3 (RM-163.7743.40) there is an additional entry in the Git Authors list, in the Commit Changes dialog. Why did Rubymine manufacture a Git author be concatenating in the following way on macOS?


This string is not in an xml file in the .idea directory. 

How to get rid of this so that I do not need to mouse-around in the Git Author dialog EVERY time?

Command line would be way better than dealing with this Git Author pollution that causes so much repetitive User actions.

Oh, sorry, as this thread is for Python product.

Why does the search cross product categories, to begin with? That's lame and not what a User would expect, unless specifically requesting a broad multi-product search.

Plus, the advanced search looks no different than basic search. I'll assume that this forum's search UI is broken.  ;)





Comment actions Permalink

I think there's a valid use case when having an ability to define author/committer name/email is useful to have in the IDE itself. I'm doing projects for a company I work for but also on work on my own projects. I would like to use different email addresses depending on what project I work on (company email for company projects, but my private email for my own projects). As PyCharm is using global settings it's hard for me to use GIT integration within the IDE for projects that should not use the email address set in the GIT global config. It would be really great if there was a per project setting so I could configure a specific email to use for commits with GIT.

Comment actions Permalink

I'm also trying to remove "extra entries from the git authors drop down (shown during commit)" with the current version of PHPStorm and Git.

Earlier Juan Lin said (August 14, 2015 08:08):

"The entries from the git authors dropdown list is stored in <project_dir>/.idea/workspace.xml"

And that seems partially correct. I edited workspace.xml to get rid of some authors, but other (unused authors) are still showing up in the drop down.

After much digging I found the extra ones are located in:

<windows user name>\.PhpStorm2017.2\system\vcs-users\99c0e838.2.keystream

I'm guessing the exact keystream file may differ depending on the repos/system etc.

Any suggestions on how to get rid of them from here too?


Comment actions Permalink

Just in case you're wondering where these files are stored in Mac OSX they're in ~/Library/Caches/WebStorm2018.2/vcs-users where 2018.2 would depend on the version you're using. Delete them all and you'll get a clean dropdown

Comment actions Permalink

Alejandro Heredia C Your answer should be accepted as solution


Please sign in to leave a comment.