Recommended way to versionize single-file-scripts using git?

Viewed 61

We got many single-file scripts that don't belong to a specific project/product/component. Should we create a repository for ach of this single-file scripts? Is there some other technic I am not aware off?

What is the recommended way to versionize them using git?

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

Approach B: One repo for each file, e.g. fileA (holding fileA.ps1), fileB (Holding fileB.ps1) and so on...

0 Answers
Related