Recommended way for one-file-scripts version using git?

We have a lot of single-file scripts that are not related to a specific project / product / component. Should we create a repository for these single threaded scripts? Is there some other technique that I am not aware of?

What is the recommended way to use them when using git?

Approach A: One repo called for example "hodgepodge" containing all files (fileA.ps1, fileB.ps1, ...)

Approach B: One repo for each file eg. fileA (file fileA.ps1), fileB (holding fileB.ps1), etc.

+3


source to share





All Articles