git basics

Everybody should know how to use git, or in reallity any version control system. Not only developers, a vcs can help even when writting a word document or when working on a cad project. If you benefit of having multiple versions saved, you can benefit from git. Also, it looks awful and is inneficient to have file1, file1.v1, file1.final, file1.NowTheLastOne. What does a version control system do? Mantains a log of changes, who, when and what. Allows collaborative development. When it is useful? Suppose you have a word document, you are sure this is the last one and save it. But there is a problem, now you have to make changes and you do not want to overwrite the first one, so you save it as another file. This can go bad quickly and if the file has a big size you will use a lot of storage usage with each copy that may have only some bytes of diference. ...

November 17, 2023 · 3 min · 444 words · ks32