top | item 33440406

Ask HN: How do you Version Control your Scripts?

1 points| nickster | 3 years ago | reply

I have about Two Dozen Scripts in a Legacy Centralized Version Control System and looking to move towards GIT but a lot of the scripts need to be deployed at Different times so the usual branching schemes don't work without a lot of manual intervention. Git with SubModules look like they would work but would become a headache eventually. I guess what are people doing for Script Management?

3 comments

order
[+] gregjor|3 years ago|reply
Separate version control from deployment. I don’t feel sure I understand the problem from your description: what does “a lot of the scripts need to be deployed at different times” mean, and what does that have to do with branching?
[+] nickster|3 years ago|reply
In our software development we tag a git branch and code gets compiled and deployed and we would like to synchronize those systems.

The scripts might involve a change to how a user is added to the system and another might be a change for how a user is updated. The "update user" script cannot be deployed until the "add user" script is deployed.