Hacker News new | ask | show | jobs
by eternityforest 1474 days ago
What about adding .myname-local folder(Or some other name nobody else will use) which is actually a symlink to a separate repo.local folder.

Use a global gitignore to ignore the symlink.

You could even have a script to git clone, make the local dir, and git init it.

Ideally some kind of global convention could be defined for the local folder name, for consistency, reusable tools, and so everyone could know to stay away from it for nonlocal stuff.

1 comments

I think this solves the problem really well, allowing source control on the separate folder as well.