Git: Книга от сообщества

Scott Chacon, “Git Community Book”, public translation into Russian from English More about this translation.

See also 14 similar translations

Translate into another language.

Participants

saturn7215815 points
friskymutt4274 points
ivan.borzenkov1099 points
And others...
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next next untranslated

Git Community Book

Git: Книга от сообщества

History of edits (Latest: shergin.com 1 year ago) §

Comment was deleted

## Welcome to Git ##

##Добро пожаловать в Git##

History of edits (Latest: mmv-ru 11 months, 2 weeks ago) §

Welcome to Git - the fast, distributed version control system.

Добро пожаловать в быструю, распределенную систему контроля версий Git.

History of edits (Latest: intnzy 1 year ago) §

This book is meant to be a starting point for people new to Git to learn it as quickly and easily as possible.

Эта книга задумывалась как отправная точка для новичков в Git, чтобы помочь им изучить его максимально легко и быстро.

History of edits (Latest: shergin.com 7 months, 2 weeks ago) §

— стандартная фраза: "легко и быстро". Фраза "быстро и легко" режет слух... имхо aavezel

— Согласен. shergin.com

This book will start out by introducing you to the way Git stores data, to give you the context for why it is different than other VCS tools.

Эта книга начинается со знакомства читателя с тем, каким образом Git хранит данные, чтобы обеспечить понимание, почему это сделано иначе, чем в остальных средствах контроля версий.

History of edits (Latest: intnzy 1 year ago) §

This is meant to take you about 20 minutes.

Это должно занять примерно 20 минут.

History of edits (Latest: PoCTo 1 year ago) §

Next we will cover **Basic Git Usage** - the commands you will be using 90% of the time. These should give you a good basis to use Git comfortably for mostof what you're going to use it for. This section should take you about 30 minutes to read through.

Далее мы рассмотрим **Базовое использование Git** - команды, которые вы будете использовать 90% времени. Это даст вам хорошую основу, для использования Git в большей части того, для чего вы и планировали его использовать. Для прочтения этой главы вам потребуется около получаса.

History of edits (Latest: shergin.com 1 year ago) §

Next we will go over **Intermediate Git Usage** - things that are slightly morecomplex, but may replace some of the basic commands you learned in the first section. This will mostly be tricks and commands that will feel more comfortable after you know the basic commands.

Затем мы изучим **Использование Git на Среднем Уровне** - немного более сложные вещи, которые могут заменить некоторые из базовых команд, освоенных в первом разделе. По большей части это будут некоторые трюки и команды, которые позволят вам чувствовать себя немного комфортней после знакомства с базовыми командами.

History of edits (Latest: enchantner 11 months ago) §

— "Среднее использование Git" - звучит как-то ненатурально... Как бы это изменить?.. shergin.com

— может "Средний уровень использования Git" ? friskymutt

After you have all of that mastered, we will cover **Advanced Git** - commandsthat most people probably don't use very often, but can be very helpful incertain situations. Learning these commands should round out your day-to-daygit knowledge; you will be a master of the Git!

После того как вы освоите все это, мы охватим **Продвинутое использование Git**, где рассмотрим такие команды, которые большинство людей вряд ли используют так уж часто, но именно они могут быть крайне полезными в определенных ситуациях. Изучение этих команд завершит ваше обучение и вы станете настоящим мастером Git!

History of edits (Latest: goriy 1 year ago) §

Now that you know Git, we will then cover **Working with Git**. Here we will goover how to use Git in scripts, with deployment tools, with editors and more.

Теперь, когда вы уже знаете Git, мы перейдем к разделу **Работая с Git**. Здесь пора перейти к практическому использованию Git в скриптах, совместно со средствами разработки, редакторами и т. п.

History of edits (Latest: goriy 1 year ago) §

These sections are meant to help you integrate Git into your environment.

Этот раздел предназначен для того, чтобы помочь вам интегрировать Git в ваше окружение.

History of edits (Latest: intnzy 1 year ago) §

Lastly, we will have a series of articles on **low-level documentation** that mayhelp the Git hackers who want to learn how the actual internals and protocols work in Git.

Наконец, будет приведено несколько статей по **низкоуровневому строению** Git, которые могут помочь интересующимся узнать, что происходит внутри самого Git и его протоколах.

History of edits (Latest: shergin.com 1 year ago) §

— Протоколах? Интересно, что имел ввиду автор. Какие именно протоколы? git://? shergin.com

### Feedback and Contributing ###

### Обратная связь и сотрудничество ###

Unapproved edits (Latest: shergin.com 9 months, 3 weeks ago) §

At any point, if you see a mistake or want to contribute to the book, you can send me an email at [schacon@gmail.com](mailto:schacon@gmail.com), or you can clone the source of this book at

В любом месте, если вы заметите ошибку или у вас появятся мысли по улучшению этой книги, вы можете написать мне [http://github.com/schacon/gitbook](http://github.com/schacon/gitbook) или модифицировав исходный код этой книги по адресу

History of edits (Latest: shergin.com 1 year ago) §

— А ничего что почтовый адрес написан полностью и нет защиты от спам-роботов? chemtech

[http://github.com/schacon/gitbook](http://github.com/schacon/gitbook)

[http://github.com/schacon/gitbook](http://github.com/schacon/gitbook)

History of edits (Latest: shergin.com 1 year ago) §

and send me a patch or a pull-request.

, прислать мне патч или git:pull-request.

History of edits (Latest: shergin.com 11 months ago) §

— pull-request - понятие git. Точно не "вопрос". Может быть pull-запрос или вообще не переводить. mmv-ru

### References ###

### Ссылки ###

History of edits (Latest: intnzy 1 year ago) §

Much of this book is pulled together from different sources and then added to.

Большая часть этой книги была собрана из различных разрозненных источников.

History of edits (Latest: shergin.com 1 year ago) §

If you would like to read some of the original articles or resources, please

Если вы хотите посмотреть оригинальные ресурсы,

History of edits (Latest: PoCTo 1 year ago) §

visit them and thank the authors:

посетите их и поблагодарите авторов:

History of edits (Latest: PoCTo 1 year ago) §

* [Git User Manual](http://www.kernel.org/pub/software/scm/git/docs/user-manual.html)

* [Git User Manual](http://www.kernel.org/pub/software/scm/git/docs/user-manual.html)

History of edits (Latest: shergin.com 1 year ago) §

* [The Git Tutorial](http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html)

* [The Git Tutorial](http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html)

History of edits (Latest: shergin.com 1 year ago) §

* [The Git Tutorial pt 2](http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html)

* [The Git Tutorial pt 2](http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html)

History of edits (Latest: shergin.com 1 year ago) §

* ["My Git Workflow" blog post](http://osteele.com/archives/2008/05/my-git-workflow)

* ["My Git Workflow" blog post](http://osteele.com/archives/2008/05/my-git-workflow)

History of edits (Latest: shergin.com 1 year ago) §

#Introduction

#Введение

History of edits (Latest: intnzy 1 year ago) §

## The Git Object Model ##

## Объектная модель Git ##

History of edits (Latest: aiva 1 year ago) §

### The SHA ###

### Алгоритм SHA ###

History of edits (Latest: aiva 1 year ago) §

All the information needed to represent the history of a project is stored in files referenced by a 40-digit "object name" that looks something like this:

Вся информация, необходимая для представления истории проекта, находится в файлах с 40-символьным именем, которое выглядит примерно так:

History of edits (Latest: shergin.com 1 year ago) §

6ff87c4664981e4397625791c8ea3bbb5f2279a3

6ff87c4664981e4397625791c8ea3bbb5f2279a3

History of edits (Latest: shergin.com 1 year ago) §

You will see these 40-character strings all over the place in Git.

В Git вы постоянно будете встречаться с этими 40-символьными строками.

History of edits (Latest: aiva 1 year ago) §

In each case the name is calculated by taking the SHA1 hash of the contents of the object. The SHA1 hash is a cryptographic hash function.

В каждом случае это имя является хешем содержимого объекта и генерируется с помощью криптографической хеш-функции по алгоритму SHA1.

History of edits (Latest: shergin.com 1 year ago) §

— Давайте вместо "хеш-значение" писатьпросто"хеш". shergin.com

What that means to us is that it is virtually impossible to find two different objects with the same name. This has a number of advantages; among others:

Для нас это значит, что практически невозможно найти два различных объекта с одним и тем же именем. Отсюда ряд преимуществ, среди которых:

History of edits (Latest: aiva 1 year ago) §
Pages: ← previous Ctrl next next untranslated

License: GPL