Skip to content

Instantly share code, notes, and snippets.

@timurvafin
Created October 28, 2010 03:45
Show Gist options
  • Save timurvafin/650589 to your computer and use it in GitHub Desktop.
Save timurvafin/650589 to your computer and use it in GitHub Desktop.
# Git installing
$ apt-get install git-core
# Setup
$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"
# Освоить git на базовом уровне.
# Инициализируете пустой репозиторий
git init
# Смотрите что происходит в рабочей ветке.
git status
# Смотрите что изменилось
git diff [filename]
# Добавляете файлы в индекс
git add [filename]
# Коммитите
git commit -m "changed ...."
# Смотрите что получилось
git log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment