noidontdig / gitdown

Don't commit when you're drunk
1.45k stars 32 forks source link

Config should use standard git config settings #9

Open ivanwills opened 8 years ago

ivanwills commented 8 years ago

Rather than have your own config file (required to be copied to all repositories) I would suggest that you use the standard git config command to set and get (possibly with your own internal defaults).

eg you could set via:

git config gitdown.mode normal
git config gitdown.port /dev/tty.usbmodem1421
git config gitdown.verbose true

and retrieve via:

git config gitdown.mode
git config gitdown.port
git config gitdown.verbose