background preloader

Git

Facebook Twitter

Git - the simple guide - no deep shit! Git - the simple guide простое руководство по работе с git. ничего сложного ;) Роджер Дублер (перевел Дмитрий Вольф) спасибо @tfnico, @fhd and Namics это руководство на english, deutsch, español, français, italiano, nederlands, português, türkçe, မြန်မာ, 日本語, 中文, 한국어 об ошибках сообщайте на github установка Скачать git для OSX Скачать git для Windows Скачать git для Linux создание нового репозитория Для того чтобы создать новый репозиторий git необходимо открыть папку где вы хотите его разместить и выполнить команду git init получение репозитория Создать локальную рабочую копию репозитория можно командой git clone /путь/к/репозиторию когда используется удаленный сервер, команда будет git clone юзер@хост:/путь/к/репозиторию рабочий процесс Ваш локальный git репозиторий состоит из трех "сущностей".

git - the simple guide - no deep shit!

Подготовка и коммит Чтобы подготовить изменения (добавить их в Индекс) используйте git add <имя_файла> git add * Это первый шаг в основном рабочем процессе. Отправка изменений ветвление метки руководства. Git How To: курс обучения Git на русском. Code School - Try Git. Atlassian Git Tutorial. Mary finishes the release Once the release is ready to ship, Mary merges it into master and develop, then deletes the release branch.

Atlassian Git Tutorial

It’s important to merge back into develop because critical updates may have been added to the release branch and they need to be accessible to new features. Again, if Mary’s organization stresses code review, this would be an ideal place for a pull request. git checkout master git merge release-0.1 git push git checkout develop git merge release-0.1 git push git branch -d release-0.1 Release branches act as a buffer between feature development (develop) and public releases (master). Git tag -a 0.1 -m "Initial public release" master git push --tags Git comes with several hooks, which are scripts that execute whenever a particular event occurs within a repository.

Documentation. Documentation Reference Reference Manual The official and comprehensive man pages that are included in the Git package itself.

Documentation

Quick reference guides: GitHub Cheat Sheet | Visual Git Cheat Sheet Book Pro Git The entire Pro Git book written by Scott Chacon and Ben Straub is available to read online for free. Videos See all videos → External Links The External Links section is a curated, ever-evolving collection of tutorials, books, videos, and other Git resources.

Integrating and Using Github in Visual Studio 2012. With so many source control options out there, it can be a daunting task in choosing one, especially that you enjoy using and integrates well with your development environment. In recent years, the open-source-centric Github has taken over as a premier repository for allowing users to store, develop, collaborate and share code. The .NET Development team has clearly taken notice and with the release of Visual Studio 2012 Update 2 have made it incredibly easy to integrate Git ( and Github ) into Visual Studio to allow you to easily commit, push, pull and all the other verbs that you can think of without ever leaving the comfort of Visual Studio.

This post will cover the steps necessary to easily get Github up and running within Visual Studio 2012 so you can start sharing ( or if you have a premium account, possibly not sharing ) your code and using Github to handle your source control needs. What You Will Need Getting Started with Visual Studio and Update 2 Download Visual Studio Express 2012.