Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Using Git for Version Control

20190313 Git is the most widely used version control system today. Microsoft's centralised github platform hosts many and perhaps most of today's open source projects as well as supporting many product teams. In addition to github there is a very popular open source git platform called gitlab which can either host your git repository for you or else you can install your own gitlab server. Another major commercial git provider is bitbucket.

The basic starting point for using git is to clone a pre-existing repository, or a fork of someone else's repository. You can also create your own repository through the various git portals using your web browser. Once you have a git repository that you wish to work on you can clone the repository:

$ git clone git@github.com:gjwgit/audit.git

This will create a copy of the repository on your local drive. You are now ready to make changes to the repository. We will generally assume it is a repository that you have created, forked into your own account, or else have been granted access to as a developer. That is, you have commit access to the repository.

Copyright © 1995-2019 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.