If it's stupid but works, it isn't stupid.
http://githowto.com/

https://www.youtube.com/watch?v=BtEvnE79jxY

http://www.downage.org/tutorials-list/git-real-1-2-codeschool_1b235.html

How to convert existing non-empty directory into a Git working directory and push files to a remote repository

Генерировать SSH ключ (в консоли гита)
ssh-keygen -t rsa -C "$your_email"

Показать ключ
cat ~/.ssh/id_rsa.pub

Команды консоли

ssh -T [email protected] проверка соединения
$ ssh -T [email protected]

git add . добавить все файлы

git add --all добавить все файлы, в том числе и удалённые

git add -u

git status

git commit -m "Комментарий к коммиту"
git commit -a -m "Комментарий к коммиту"


git push origin название_ветки

touch имя_файла.расширение создать файл

get help помощь

git branch имя_ветки создать ветку

git checkout имя_ветки переключиться на другую ветку

ls список файлов

https://gist.github.com/adamjohnson/5682757

@темы: Git, Курс по гиту