Comment

Comment by brantonb

I didn't want to have to organize my work and personal repos using a directory structure, so I use matching on the remote instead. Since my job uses a GitHub organization, I'm able to conditionally include a config file that uses my work email in any GitHub repo under that organization.

I wrote it up here, if that sounds useful: https://www.brantonboehm.com/code/conditional-git-config/

parent brantonb 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton