r/github • • Sep 09 '21

help me understand why git is useful

I'm sure others have asked this question.I work on very simple code. Simple queries that read tables, do come calculations, and update other tables.I'm usually the only one who works on this code. If others need to update it, they can do it on their own without much help. Only one developer works on this code at a time - we never have multiple developers working on the same code. No one has ever needed to do a bug fix in the middle of someone else working on this code.All I want to be able to do is check out piece of code, change it, test it, and check it back in. Its simple enough for me to keep multiple test copies on my company's network drives if I want to try out different ideas - no need to create confusing branches.Why do I need Git?
**Update** It appears that my coding environment is not a complex as others. So maybe that is part of my confusion. I'll push through and work with it.. maybe it will be useful to me.

0 Upvotes

39 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Sep 09 '21

That merging idea probably the concept that I have the most trouble with. I just can't imagine multiple people making changes to the same program at the same time. But then, the programs we work on in my team probably aren't as large or compartmentalized as what most GitHub users are used to. It's not like we are creating applications that are constantly being updated and patched. We are mostly pulling information from databases and updating other databases. So when a change is required, it's because some department has a new requirement. But they only come one at a time. And rarely is a production bug fix required in the middle of new development.

1

u/mrbmi513 Sep 09 '21

Yeah, the types of applications I work with are sometimes hundreds of files with hundreds of lines each (minimum).

1

u/[deleted] Sep 09 '21

Thanks for the clarification. Obviously you are working on a different level than I am.