GIT

From Thom Group Wiki
Revision as of 13:47, 19 August 2015 by import>Hb407
Jump to navigation Jump to search

A GIT repository is a data management system for your files. It is useful for version control.

  1. First of all, in the directory you wish to make the repository, type 'git "init"'
  2. To add a file to the repository, type 'git "filename"'
  3. To commit changes to the repository, type 'git commit "filename"'. This will bring up a text file where it is possible to record details of the changes.
  4. To retrieve a file from the repository, type 'git checkout "filename"'