GIT: Difference between revisions
Jump to navigation
Jump to search
import>Hb407 (Created page with "A GIT repository is a data management system for your files. It is useful for version control. #First of all, in the directory you wish to make the repository, type 'git "ini...") |
import>Hb407 No edit summary |
||
Line 2: | Line 2: | ||
#First of all, in the directory you wish to make the repository, type 'git "init"' |
#First of all, in the directory you wish to make the repository, type 'git "init"' |
||
#To add a file to the repository, type 'git "filename"' |
#To add a file to the repository, type 'git "filename"' |
||
#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. |
#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. |
||
#To retrieve a file from the repository, type 'git checkout "filename"' |
#To retrieve a file from the repository, type 'git checkout "filename"' |
Revision as of 13:47, 19 August 2015
A GIT repository is a data management system for your files. It is useful for version control.
- First of all, in the directory you wish to make the repository, type 'git "init"'
- To add a file to the repository, type 'git "filename"'
- 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.
- To retrieve a file from the repository, type 'git checkout "filename"'