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

I'm abusing `git config -f $PATH` as a poor man's portable INI parser/modifier in shell scripts, works pretty well but imposes some Git-specific syntax limitations.


Funny enough, the thing that brought this up for me most recently was that some value in `~/.gitconfig` is not idempotent when set through the command line, and I was trying to use it in a shell startup script.




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

Search: