Open mbostock opened 10 years ago
How about using git config? You can set arbitrary properties in there, e.g.
git config --global gistup.private true
I'm not sure how easy it would be to access from the code, but it's already kind of a standard for configuring git-related things.
I’m already using .gistup.json to store the GitHub personal access token.
Ah, fair enough.
Will rename function gitConfig as part of my own todo list https://github.com/CrandellWS/gistup/blob/70f09c0fc3cc6e3594ee1d23ad0f73d92a1189ed/bin/gistup#L128 ...
Would be nice if you could store default settings in ~/.gistup.json. For example, maybe
would create private gists by default.