August 2019
Beginner
608 pages
16h 7m
English
One of the things SVN can do compared to Git is that you can check out parts of the repository. In Git, the repository can only be cloned as a whole.
In Git, every object has a unique ID, that is, a SHA-1; for instance, 921103db8259eb9de72f42db8b939895f5651422.
This makes it easier to reference. You can also use a shortened version (921103d):
$ git rev-parse --short 921103db8259eb9de72f42db8b939895f5651422921103d
In SVN, a file is always the newest version. To reference changes to a file, you need to use revisions. That revision points to the whole repository.
SVN working directories contain two copies of each file, which is why Git repositories are generally much smaller – they only contain one copy. ...
Read now
Unlock full access