Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I also want this, but on a folder level

I have a github.com folder with all the repos I cloned from GH but I always have to type git config user.name/email before committing. It's so annoying at this point.



You could try overriding 'git' in your PATH with a shell script wrapper that prepends something like -c user.name=yourname before the rest of the command, or that runs git config if it hasn't been run yet, etc. (whatever makes sense for your case)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: