Difference between revisions of "Git"

From Ilianko
Line 6: Line 6:
 
*You stage the files, adding snapshots of them to your staging area.
 
*You stage the files, adding snapshots of them to your staging area.
 
*You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory.
 
*You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory.
 +
 +
 +
*saved changes are called commits.

Revision as of 17:36, 20 February 2016

git - the stupid content tracker


  • You modify files in your working directory.
  • You stage the files, adding snapshots of them to your staging area.
  • You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory.


  • saved changes are called commits.