avinassh / rockstar

Makes you a Rockstar C++ Programmer in 2 minutes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work when git config is locally set

gauravmuk opened this issue · comments

I executed the program and it created commits using my username and my machine name as the email id which git would never recognise as my commits.

I had to setup the user.name and user.email globally to get the commits on my name.

I don't know how this can be fixed, maybe by asking for params in the program itself?

But this was very annoying!

Nope, its not annoying. It's by design. You should set the globals yourself and not in every script you write.