keith / git-pile

Stacked diff support for GitHub workflows
MIT License
148 stars 11 forks source link

Move config to gitconfig? #10

Open keith opened 2 years ago

keith commented 2 years ago

Right now the few configuration variables are all env vars, it might make sense to move this configuration to the gitconfig instead so it's in a standard place users likely already understand, and so they could potentially vary per project if users wanted. One great use case for varying per project would be if we allowed default configuration for arguments passed to gh pr create, where you might want to add the same reviewers always on some projects but not others

IanEdington commented 1 year ago

Although git configuration variables would be more ideal I'm currently using https://github.com/direnv/direnv to have different prefixes per repo.

hauleth commented 11 months ago

Why not both? Also you can have git configuration per repo.