Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Git only for source control?

Is it insane to integrate Git into the project that has nothing to do with source control.

I am thinking about data collector that regularly runs several commands on the client side and commit the output into the local git repository. If remote server is available it pushes the data in origin for further processing on the server side. In this scenario I will have compression, history and various delivery methods for free. What are the drawbacks?

like image 490
alder Avatar asked Dec 02 '22 08:12

alder


1 Answers

It's not insane, no. Git was originally designed to just be a version controlled file-system, which would be later used as the basis for a source control system; however, things didn't quite go that way and git became the source control system. That being said, it's still very much a file-system design, and there's no reason you couldn't use it for other purposes (in fact I was going to do something very similar myself, but the project never panned out).

like image 126
James Gregory Avatar answered Dec 22 '22 00:12

James Gregory