To be fair, most of the its difficulty is realized when you're stuck with a teammate rewriting history. Who, much like anyone anyone doing the same, hasn't bothered reading a book explaining things.
In some sense, git is actually like advanced zip versioning system. A commit is literally just a snapshot of code base except it tell you what is the previous version of this version.
Also, git store the files in a smarter way so file size won't explode like zip versioning.
casenmgreen|9 months ago
Everything is fully and completely explained, in terms which mean nothing.
eru|9 months ago
(They ain't perfect, of course.)
spookie|9 months ago
baq|9 months ago
If you push rewritten history to master, you're a git.
Conclusion: learn your tools.
jamienicol|9 months ago
tester756|9 months ago
mmis1000|9 months ago
Also, git store the files in a smarter way so file size won't explode like zip versioning.
eru|9 months ago
Or previous versions. Plural. Yes.
Well, that's one half of git. The other half is tooling to work with the snapshots and their history, eg to perform merges.