Clone a repository without getting the entire history
Git has a feature that we call Shallow Clone; this allows us to make a clone of a repository without taking in the entire history of commits/logs with it.
Git has a feature that we call Shallow Clone; this allows us to make a clone of a repository without taking in the entire history of commits/logs with it.
When viewing the patch of a certain commit with git show <commit> you’re only interested in a certain part of it, related to a file or a directory.