Книга Git сообщества | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 93% translated in draft. Almost done, let's finish it!
If you do not want to register an account, you can sign in with OpenID.
Git Community Book | ||
## Welcome to Git ## | ||
Welcome to Git - the fast, distributed version control system. | Добро пожаловать в быструю, распределенную систему контроля версий Git. | |
This book is meant to be a starting point for people new to Git to learn it as quickly and easily as possible. | Эта книга задумывалась как отправная точка для новичков в Git, чтобы помочь им изучить его максимально легко и быстро. | — стандартная фраза: "легко и быстро". Фраза "быстро и легко" режет слух... имхо — 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 хранит данные, чтобы обеспечить понимание, почему это сделано иначе, чем в остальных средствах контроля версий. | |
This is meant to take you about 20 minutes. | ||
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 в большей части того, для чего вы и планировали его использовать. Для прочтения этой главы вам потребуется около получаса. | |
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 на Среднем Уровне** - немного более сложные вещи, которые могут заменить некоторые из базовых команд, освоенных в первом разделе. По большей части это будут некоторые трюки и команды, которые позволят вам чувствовать себя немного комфортней после знакомства с базовыми командами. | — "Среднее использование Git" - звучит как-то ненатурально... Как бы это изменить?.. — shergin.com Comment was deleted |
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! | |
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 в скриптах, совместно со средствами разработки, редакторами и т. п. | |
These sections are meant to help you integrate Git into your environment. | Этот раздел предназначен для того, чтобы помочь вам интегрировать Git в ваше окружение. | |
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 и его протоколах. | — Протоколах? Интересно, что имел ввиду автор. Какие именно протоколы? git://? — shergin.com — да, git,ssh,file. Сформулировать не получается. Здесь имеется ввиду работа через протоколы — AmorphDev |
### Feedback and Contributing ### | ||
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) или модифицировав исходный код этой книги по адресу | — А ничего что почтовый адрес написан полностью и нет защиты от спам-роботов? — chemtech |
[http://github.com/schacon/gitbook](http://github.com/schacon/gitbook) | [http://github.com/schacon/gitbook](http://github.com/schacon/gitbook) | |
and send me a patch or a pull-request. | — pull-request - понятие git. Точно не "вопрос". Может быть pull-запрос или вообще не переводить. — mmv-ru | |
### References ### | ||
Much of this book is pulled together from different sources and then added to. | Большая часть этой книги была собрана из различных разрозненных источников. | |
If you would like to read some of the original articles or resources, please | ||
visit them and thank the authors: | ||
* [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) | |
* [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) | |
* [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) | |
* ["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) | |
#Introduction | ||
## The Git Object Model ## | ||
### The SHA ### | ||
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-символьным именем, которое выглядит примерно так: | |
6ff87c4664981e4397625791c8ea3bbb5f2279a3 | ||
You will see these 40-character strings all over the place in Git. | В Git вы постоянно будете встречаться с этими 40-символьными строками. | |
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. | — Давайте вместо "хеш-значение" писатьпросто"хеш". — 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: | Для нас это значит, что практически невозможно найти два различных объекта с одним и тем же именем. Отсюда ряд преимуществ, среди которых: |
License: GPL

Comment was deleted