Chapter 26. Given a scenario, carry out version control using Git
This chapter provides information and commands concerning the following topics:
Arguments
The Linux+ exam will include some questions regarding arguments to the git command. This section covers these exam-testable arguments.
clone
The git clone command creates a local repository from the contents of a remote repository. The argument provided is the location of the remote repository.
Example:
$ git clone https://gitlab.com/borothwell/ocs.git Cloning into 'ocs'... Username for 'https://gitlab.com': borothwell Password for 'https://borothwell@gitlab.com': remote: ...
Get CompTIA Linux+ Portable Command Guide: All the commands for the CompTIA XK0-004 exam in one compact, portable resource, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.