Git

From Ilianko
Revision as of 10:44, 22 February 2016 by Anko (talk | contribs)

git - the stupid content tracker

1. Инсталиране на git

apt-get install git

2. Създаване на проект

2.1. Създайте папка email 2.2. В папката създайте файлове email.php и README

touch email.php
touch README

2.3. Инициализация на проекта

git init


  • 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.