Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

does anybody know, where is located something like main config of git?

I use netbeans and when I installed git, it created identity from my username and hostname (stellaireman ). In my home folder wasn't .gitconfig untill I set my new identity, so it created that file. And in that file is just this

    name = David Střítežský
    email =

So I think that somewhere must be some "parent" of this config, where is that stellaireman identity saved (or it is saved somewhere in netbenas?).

I tried git config --global --unset "stellaireman" with no success.

My second identity works great but I don't want 2 indentities there. I've made a mistake 3 times yet.

share|improve this question
Did you check in your ~/.bashrc? – i08in Mar 7 '14 at 13:14
@Jobin I'm not sure what should be there but there is nothing like "stellaireman" or "notebook-ubuntu" – StellaireMan Mar 7 '14 at 13:21
You might have found something like your name and email id in that file, since you did not, it wasn't there. – i08in Mar 7 '14 at 13:23
up vote 0 down vote accepted

Git configuration for NetBeans should be found in:


How to find it:

Try searching in all the NetBeans configuration files.

First you can check your project's configuration in /path/to/your/project/nbproject

$ cd /path/to/yout/project/nbproject
$ grep -r -o -i "stellaireman" *

If you found nothing, then you can next check the NetBeans main config directory.

$ cd ~/.netbeans/7.4/config
$ grep -r -o -i "stellaireman" *

Of course you need to replace 7.4 by the verison you are using version.

share|improve this answer
Thanks man, that solved it! :) – StellaireMan Mar 7 '14 at 15:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.