<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cronolio</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cronolio"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Cronolio"/>
	<updated>2026-07-04T10:37:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User:Cronolio&amp;diff=486595</id>
		<title>User:Cronolio</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User:Cronolio&amp;diff=486595"/>
		<updated>2018-06-11T21:47:39Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Administration_of_a_Plugin_in_Joomla/ru&amp;diff=486539</id>
		<title>Administration of a Plugin in Joomla/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Administration_of_a_Plugin_in_Joomla/ru&amp;diff=486539"/>
		<updated>2018-06-09T16:24:01Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
Плагины являются одним из пяти [типов] [[S:MyLanguage/extensions|расширений]]  ядра системы Joomla! ([[S:MyLanguage/Components|Компоненты]], [[S:MyLanguage/Modules|модули]], [[S:MyLanguage/Plugins|плагины]], [[S:MyLanguage/Template|шаблоны]] и [[S:MyLanguage/Languages|языки]]) и используется для добавления функционала, которое отсутствует в шаблоне. Таким образом, плагин добавляет функции в какой-либо компонент или модуль.&lt;br /&gt;
&lt;br /&gt;
Например, плагин (такой как плагин профиля пользователя) может добавить в какой-либо компонент дополнительную веб-форму, добавить горячие клавиши для ссылок или другой код (как плагин &#039;BBCode Parser&#039;) или даже придать более расширенный функционал, вроде дополнительного метода аутентификации (например, возможность входить на сайт через соцсеть Facebook).&lt;br /&gt;
&lt;br /&gt;
==Установка плагина==&lt;br /&gt;
Плагины устанавливаются также, как и другие [типы] расширений (шаблоны, компоненты, модули и языки). Для того чтобы [подробнее] узнать как устанавливать расширения, познакомьтесь, пожалуйста с [соответствующей вики] [[S:MyLanguage/Installing_an_extension|Установка расширений]].&lt;br /&gt;
&lt;br /&gt;
==Изменение параметров плагинов==&lt;br /&gt;
Многие плагины обладают параметрами, которые позволяют Вам индивидуально подстраивать их функционал без изменения кода. Мы рассмотрим некоторые из таких характеристик. В административной панели Joomla пройдите в менеджер плагинов: &amp;quot;&#039;&#039;&#039;Расширения&#039;&#039;&#039;&amp;quot; -&amp;gt;  &amp;quot;&#039;&#039;&#039;Менеджер плагинов&#039;&#039;&#039;&amp;quot;. Теперь Вы увидите список всех имеющихся на Вашем веб-сайте плагинов. Для просмотра информации о том, что Вы можете делать на этой административной странице, щелкните на кнопку &#039;&#039;Справка&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Плагин навигации по странице===&lt;br /&gt;
В этом случае мы посетим плагин [навигации по странице] &amp;quot;Content - Page Navigation&amp;quot;.  Этот конкретный плагин позволит Вам добавлять в создаваемые компонентом содержимого материалы формат таблицы содержимого. Щелкая на начальные опции Вы можете увидеть, что для этого плагина существуют два параметра. Один выбирает показывать ли таблицу содержимого над главным текстом или под ним, в то время как второй позволяет Вам выбирать быть ли этой позиции над заголовком материала и его другими данными (при показе материала полностью), сразу над главным текстом.&lt;br /&gt;
&lt;br /&gt;
Все что у нас здесь есть - это две простые опции в выпадающем списке. Которые мы можем выбрать и затем нажать [на кнопку] &amp;quot;Сохранить&amp;quot; на панели инструментов и сохранить эту конфигурацию.&lt;br /&gt;
&lt;br /&gt;
==Полный список плагинов ядра и параметров==&lt;br /&gt;
Для [просмотра] полного списка плагинов и имеющихся в них параметров откройте на странице редактирования какого-либо плагина экран документации и щелкните на кнопку &amp;quot;Справка&amp;quot;. Альтернативно, Вы можете просмотреть плагины ядра:&lt;br /&gt;
* Для J3.x, смотрите [[S:MyLanguage/{{RVer|Help}}:Extensions_Plugin_Manager_Edit|{{RVer}} Расширения - Менеджер плагинов - Изменить]]&lt;br /&gt;
* Для J2.5, смотрите [[S:MyLanguage/Help25:Extensions_Plugin_Manager_Edit|J2.5 Расширения - Менеджер плагинов - Изменить]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Plugin Management/ru|Управление плагинами]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Administration_of_a_Plugin_in_Joomla/2/ru&amp;diff=486538</id>
		<title>Translations:Administration of a Plugin in Joomla/2/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Administration_of_a_Plugin_in_Joomla/2/ru&amp;diff=486538"/>
		<updated>2018-06-09T16:24:01Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Установка плагина==&lt;br /&gt;
Плагины устанавливаются также, как и другие [типы] расширений (шаблоны, компоненты, модули и языки). Для того чтобы [подробнее] узнать как устанавливать расширения, познакомьтесь, пожалуйста с [соответствующей вики] [[S:MyLanguage/Installing_an_extension|Установка расширений]].&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Administration_of_a_Plugin_in_Joomla/ru&amp;diff=486537</id>
		<title>Administration of a Plugin in Joomla/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Administration_of_a_Plugin_in_Joomla/ru&amp;diff=486537"/>
		<updated>2018-06-09T16:23:40Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
Плагины являются одним из пяти [типов] [[S:MyLanguage/extensions|расширений]]  ядра системы Joomla! ([[S:MyLanguage/Components|Компоненты]], [[S:MyLanguage/Modules|модули]], [[S:MyLanguage/Plugins|плагины]], [[S:MyLanguage/Template|шаблоны]] и [[S:MyLanguage/Languages|языки]]) и используется для добавления функционала, которое отсутствует в шаблоне. Таким образом, плагин добавляет функции в какой-либо компонент или модуль.&lt;br /&gt;
&lt;br /&gt;
Например, плагин (такой как плагин профиля пользователя) может добавить в какой-либо компонент дополнительную веб-форму, добавить горячие клавиши для ссылок или другой код (как плагин &#039;BBCode Parser&#039;) или даже придать более расширенный функционал, вроде дополнительного метода аутентификации (например, возможность входить на сайт через соцсеть Facebook).&lt;br /&gt;
&lt;br /&gt;
==Установка плагина==&lt;br /&gt;
Плагины устанавливаются также, как и другие [типы] расширений (шаблоны, компоненты, модули и языки). Для того чтобы [подробнее] узнать как устанавливать расширения, познакомтесь, пожалуйста с [соответствующей вики] [[S:MyLanguage/Installing_an_extension|Установка расширений]].&lt;br /&gt;
&lt;br /&gt;
==Изменение параметров плагинов==&lt;br /&gt;
Многие плагины обладают параметрами, которые позволяют Вам индивидуально подстраивать их функционал без изменения кода. Мы рассмотрим некоторые из таких характеристик. В административной панели Joomla пройдите в менеджер плагинов: &amp;quot;&#039;&#039;&#039;Расширения&#039;&#039;&#039;&amp;quot; -&amp;gt;  &amp;quot;&#039;&#039;&#039;Менеджер плагинов&#039;&#039;&#039;&amp;quot;. Теперь Вы увидите список всех имеющихся на Вашем веб-сайте плагинов. Для просмотра информации о том, что Вы можете делать на этой административной странице, щелкните на кнопку &#039;&#039;Справка&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Плагин навигации по странице===&lt;br /&gt;
В этом случае мы посетим плагин [навигации по странице] &amp;quot;Content - Page Navigation&amp;quot;.  Этот конкретный плагин позволит Вам добавлять в создаваемые компонентом содержимого материалы формат таблицы содержимого. Щелкая на начальные опции Вы можете увидеть, что для этого плагина существуют два параметра. Один выбирает показывать ли таблицу содержимого над главным текстом или под ним, в то время как второй позволяет Вам выбирать быть ли этой позиции над заголовком материала и его другими данными (при показе материала полностью), сразу над главным текстом.&lt;br /&gt;
&lt;br /&gt;
Все что у нас здесь есть - это две простые опции в выпадающем списке. Которые мы можем выбрать и затем нажать [на кнопку] &amp;quot;Сохранить&amp;quot; на панели инструментов и сохранить эту конфигурацию.&lt;br /&gt;
&lt;br /&gt;
==Полный список плагинов ядра и параметров==&lt;br /&gt;
Для [просмотра] полного списка плагинов и имеющихся в них параметров откройте на странице редактирования какого-либо плагина экран документации и щелкните на кнопку &amp;quot;Справка&amp;quot;. Альтернативно, Вы можете просмотреть плагины ядра:&lt;br /&gt;
* Для J3.x, смотрите [[S:MyLanguage/{{RVer|Help}}:Extensions_Plugin_Manager_Edit|{{RVer}} Расширения - Менеджер плагинов - Изменить]]&lt;br /&gt;
* Для J2.5, смотрите [[S:MyLanguage/Help25:Extensions_Plugin_Manager_Edit|J2.5 Расширения - Менеджер плагинов - Изменить]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Plugin Management/ru|Управление плагинами]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Administration_of_a_Plugin_in_Joomla/1/ru&amp;diff=486536</id>
		<title>Translations:Administration of a Plugin in Joomla/1/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Administration_of_a_Plugin_in_Joomla/1/ru&amp;diff=486536"/>
		<updated>2018-06-09T16:23:39Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Плагины являются одним из пяти [типов] [[S:MyLanguage/extensions|расширений]]  ядра системы Joomla! ([[S:MyLanguage/Components|Компоненты]], [[S:MyLanguage/Modules|модули]], [[S:MyLanguage/Plugins|плагины]], [[S:MyLanguage/Template|шаблоны]] и [[S:MyLanguage/Languages|языки]]) и используется для добавления функционала, которое отсутствует в шаблоне. Таким образом, плагин добавляет функции в какой-либо компонент или модуль.&lt;br /&gt;
&lt;br /&gt;
Например, плагин (такой как плагин профиля пользователя) может добавить в какой-либо компонент дополнительную веб-форму, добавить горячие клавиши для ссылок или другой код (как плагин &#039;BBCode Parser&#039;) или даже придать более расширенный функционал, вроде дополнительного метода аутентификации (например, возможность входить на сайт через соцсеть Facebook).&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github&amp;diff=485930</id>
		<title>Working with git and github</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github&amp;diff=485930"/>
		<updated>2018-05-30T13:42:00Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
= Intro = &amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
This document will provide information about contributing to the Joomla! CMS with help of Git and GitHub. If you like to made a simple change (one file only), it is easier to use this documentation: [[S:MyLanguage/Using the Github UI to Make Pull Requests|Using the Github UI to Make Pull Requests]]&lt;br /&gt;
If you like to add more complex changes or you&#039;re just interested in this, keep reading!&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== What are Git and GitHub? == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Git is a distributed version control system. It is a system that records changes in files and keeps these changes in a history file. You can always look back to an earlier version of your code and restore changes if you like. Because of the history archive, Git is very useful when you work with many people together on the same project.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Joomla! uses GitHub and Git to maintain its code. Everyone can contribute Joomla! software. The URL to the Joomla! CMS Project on GitHub is: https://github.com/joomla/joomla-cms&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Getting Started = &amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Sign up on GitHub and install Git == &amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
First, you will need to register at [http://www.github.com GitHub]. It&#039;s free and easy to do. Just follow the provided steps.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
One we are signed up, we need to install Git. The latest version of Git can be found on http://git-scm.com. Download and open the installer. Git is an CLI (Command Line Interface) program. At the start this can be confusing and a bit scary but this document will lead you through the process.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
If you&#039;re not an advanced user, just run the installer and press the &amp;quot;next&amp;quot; buttons until the program is installed. Git won&#039;t damage your system. Later you can remove it just like any other program if you like.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
Once we installed Git, we open the program called &amp;quot;Git Bash&amp;quot;. A command line will be opened. We&#039;re going to tell Git our name and email address. Git will use this information when we contribute to a project.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
With the following commands we give Git that information:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
In the above commands, and all other commands given in this documentation, each line is a new command. So you type the fist line, press enter and then type the second line and press enter.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
We are now ready to use Git and go farther with setting up our test installation.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Setting up a test installation= &amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
For our test installation we need a Web server program so that we can install and run Joomla! on our computer. There are a lot of programs that can do that such as [https://www.mamp.info/ MAMP] and [https://www.apachefriends.org/ XAMPP]. Download an install one of them.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Fork and Clone Joomla! == &amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
On GitHub you can find projects, so called Repositories. Inside a project you might find several versions. Such a version is called a Branch. Joomla! has the following branches:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; This branch contains the latest bug fixes and new features of Joomla!&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; This branch is the current stable version of Joomla!&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; This branch contains the files for Joomla! 3.5, which is not stable at this writing.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&amp;lt;/translate&amp;gt;&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation.&amp;lt;/translate&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process.&amp;lt;/translate&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Install Joomla! == &amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Make Your Changes= &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Publish Our Changes on GitHub== &amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork= &amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:45--&amp;gt;&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Compare Forks and Make a Pull Request== &amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Extra information= &amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485929</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485929"/>
		<updated>2018-05-30T13:40:53Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажимайте кнопку &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать ваш форк в обновленном состоянии. Можно сделать это добавив для своего проекта удаленный репозиторий:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в вашем форке. Если он найдет какие-либо, он добавит их в ваш форк:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую команду, чтобы загрузить их на GitHub:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/11/ru&amp;diff=485928</id>
		<title>Translations:Working with git and github/11/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/11/ru&amp;diff=485928"/>
		<updated>2018-05-30T13:40:52Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Если вы не продвинутый пользователь, тогда просто запустите установщик и нажимайте кнопку &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485927</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485927"/>
		<updated>2018-05-30T13:38:37Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать ваш форк в обновленном состоянии. Можно сделать это добавив для своего проекта удаленный репозиторий:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в вашем форке. Если он найдет какие-либо, он добавит их в ваш форк:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую команду, чтобы загрузить их на GitHub:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/51/ru&amp;diff=485926</id>
		<title>Translations:Working with git and github/51/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/51/ru&amp;diff=485926"/>
		<updated>2018-05-30T13:38:37Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать ваш форк в обновленном состоянии. Можно сделать это добавив для своего проекта удаленный репозиторий:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485925</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485925"/>
		<updated>2018-05-30T13:37:32Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную репозиторий для своего проекта:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в вашем форке. Если он найдет какие-либо, он добавит их в ваш форк:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую команду, чтобы загрузить их на GitHub:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/52/ru&amp;diff=485924</id>
		<title>Translations:Working with git and github/52/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/52/ru&amp;diff=485924"/>
		<updated>2018-05-30T13:37:32Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в вашем форке. Если он найдет какие-либо, он добавит их в ваш форк:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485923</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485923"/>
		<updated>2018-05-30T13:35:34Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую коман...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную репозиторий для своего проекта:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в нашем форке. Если он найдет какие-либо, он добавит их в наш форк:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую команду, чтобы загрузить их на GitHub:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/53/ru&amp;diff=485922</id>
		<title>Translations:Working with git and github/53/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/53/ru&amp;diff=485922"/>
		<updated>2018-05-30T13:35:34Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую коман...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;На данный момент изменения сделаны только в вашем локальном форке. Используйте следующую команду, чтобы загрузить их на GitHub:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485921</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485921"/>
		<updated>2018-05-30T13:33:17Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы с...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную репозиторий для своего проекта:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в нашем форке. Если он найдет какие-либо, он добавит их в наш форк:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/52/ru&amp;diff=485920</id>
		<title>Translations:Working with git and github/52/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/52/ru&amp;diff=485920"/>
		<updated>2018-05-30T13:33:16Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы с...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Теперь мы добавили удаленный репозиторий под названием &amp;quot;upstream&amp;quot;. Используя следующую команду мы скажем Git искать новые изменения (коммиты) в ветке staging, которых еще нет в нашем форке. Если он найдет какие-либо, он добавит их в наш форк:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485919</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485919"/>
		<updated>2018-05-30T13:29:47Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную репозиторий для своего проекта:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/51/ru&amp;diff=485918</id>
		<title>Translations:Working with git and github/51/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/51/ru&amp;diff=485918"/>
		<updated>2018-05-30T13:29:47Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную репозиторий для своего проекта:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485917</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485917"/>
		<updated>2018-05-30T13:28:58Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную ветку для своего проекта:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/51/ru&amp;diff=485916</id>
		<title>Translations:Working with git and github/51/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/51/ru&amp;diff=485916"/>
		<updated>2018-05-30T13:28:58Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Так как staging версия Joomla! может изменится в любой момент, будет полезно иметь возможность держать в обновленном состоянии ваш форк. Можно сделать это добавив удаленную ветку для своего проекта:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485915</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485915"/>
		<updated>2018-05-30T13:09:24Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохр...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/36/ru&amp;diff=485914</id>
		<title>Translations:Working with git and github/36/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/36/ru&amp;diff=485914"/>
		<updated>2018-05-30T13:09:24Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохр...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Теперь настало время сделать свои изменения в Joomla! Все изменения, которые вы делаете, будут сохранятся в Git. В любой момент вы можете ввести команду &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt;, чтобы увидеть какие файлы изменены или не отслеживаются. Не отслеживается значит файл в данном месте новые для Git.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485913</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485913"/>
		<updated>2018-05-30T13:05:12Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтоб...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/34/ru&amp;diff=485912</id>
		<title>Translations:Working with git and github/34/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/34/ru&amp;diff=485912"/>
		<updated>2018-05-30T13:05:11Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтоб...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Последнее отличие в последнем шаге установки. Обычно мы должны удалить установочную папку чтобы перейти к back-end (административной части) или front-end (внешнему интерфейсу веб-сайта) Joomla! Для тестовой установки мы можем пропустить эту часть и перейти непосредственно к back-end или front-end. Не удаляйте установочную папку. Она может быть очень полезной когда вы будете устанавливать Joomla снова.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485911</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485911"/>
		<updated>2018-05-30T12:57:52Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/32/ru&amp;diff=485910</id>
		<title>Translations:Working with git and github/32/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/32/ru&amp;diff=485910"/>
		<updated>2018-05-30T12:57:52Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только два небольших отличия.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485909</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485909"/>
		<updated>2018-05-30T12:57:15Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только две небольшие разницы.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/33/ru&amp;diff=485908</id>
		<title>Translations:Working with git and github/33/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/33/ru&amp;diff=485908"/>
		<updated>2018-05-30T12:57:15Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;В настройках базы данных имя пользователя и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485907</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485907"/>
		<updated>2018-05-30T12:56:20Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;В настройках базы данной пароль и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а па...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только две небольшие разницы.&lt;br /&gt;
&lt;br /&gt;
В настройках базы данной пароль и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/33/ru&amp;diff=485906</id>
		<title>Translations:Working with git and github/33/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/33/ru&amp;diff=485906"/>
		<updated>2018-05-30T12:56:20Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;В настройках базы данной пароль и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а па...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;В настройках базы данной пароль и пароль по умолчанию. Чаще всего имя пользователя &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;, а пароль или также &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; или нет пароля. Если вы все еще не можете подключится к базе данных, то поищите имя пользователя и пароль в руководство для используемого веб-сервера.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485905</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485905"/>
		<updated>2018-05-30T12:45:59Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только две небольшие разницы.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/32/ru&amp;diff=485904</id>
		<title>Translations:Working with git and github/32/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/32/ru&amp;diff=485904"/>
		<updated>2018-05-30T12:45:59Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Установка Joomla! для нашей локальной тестовой установки в основном такая же как и обычная установка. Есть только две небольшие разницы.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=User:Cronolio&amp;diff=485903</id>
		<title>User:Cronolio</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=User:Cronolio&amp;diff=485903"/>
		<updated>2018-05-29T12:27:40Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://docs.joomla.org/index.php?title=Special%3ALanguageStats&amp;amp;x=D&amp;amp;language=ru&amp;amp;group=page-Chunk30%3AHelp+screen+column+header+Search+Term stat]&lt;br /&gt;
&lt;br /&gt;
https://docs.joomla.org/Working_with_git_and_github/ru&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485902</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485902"/>
		<updated>2018-05-29T12:26:09Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/39/ru&amp;diff=485901</id>
		<title>Translations:Working with git and github/39/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/39/ru&amp;diff=485901"/>
		<updated>2018-05-29T12:26:08Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Первая команда сбрасывает все файлы. Вторая команда удаляет неотслеживаемые файлы и папки.&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485900</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485900"/>
		<updated>2018-05-29T12:24:45Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/38/ru&amp;diff=485899</id>
		<title>Translations:Working with git and github/38/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/38/ru&amp;diff=485899"/>
		<updated>2018-05-29T12:24:45Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Если вы хотите удалить все изменения которые вы сделали, используйте следующие команды:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485898</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485898"/>
		<updated>2018-05-29T12:23:33Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/37/ru&amp;diff=485897</id>
		<title>Translations:Working with git and github/37/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/37/ru&amp;diff=485897"/>
		<updated>2018-05-29T12:23:33Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Если вы сделали ошибку или хотите восстановить файл, используйте следующую команду:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485896</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485896"/>
		<updated>2018-05-29T12:19:36Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете на...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/20/ru&amp;diff=485895</id>
		<title>Translations:Working with git and github/20/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/20/ru&amp;diff=485895"/>
		<updated>2018-05-29T12:19:35Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете на...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;На GitHub вы можете найти проекты, так называемые репозитории (repositories). Внутри проекта вы можете найти несколько версий. Такие версии называются ветками (branch). В Joomla! есть следующие ветки:&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485894</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485894"/>
		<updated>2018-05-29T12:03:12Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
On GitHub you can find projects, so called Repositories. Inside a project you might find several versions. Such a version is called a Branch. Joomla! has the following branches:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/2/ru&amp;diff=485893</id>
		<title>Translations:Working with git and github/2/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/2/ru&amp;diff=485893"/>
		<updated>2018-05-29T12:03:11Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]].&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485892</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485892"/>
		<updated>2018-05-29T11:55:41Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]]&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
On GitHub you can find projects, so called Repositories. Inside a project you might find several versions. Such a version is called a Branch. Joomla! has the following branches:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация своих изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/40/ru&amp;diff=485891</id>
		<title>Translations:Working with git and github/40/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/40/ru&amp;diff=485891"/>
		<updated>2018-05-29T11:55:41Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Публикация своих изменений на GitHub==&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485890</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485890"/>
		<updated>2018-05-29T11:55:32Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;=Делаем свои изменения=&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]]&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
On GitHub you can find projects, so called Repositories. Inside a project you might find several versions. Such a version is called a Branch. Joomla! has the following branches:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Делаем свои изменения=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация наших изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/35/ru&amp;diff=485889</id>
		<title>Translations:Working with git and github/35/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/35/ru&amp;diff=485889"/>
		<updated>2018-05-29T11:55:32Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;=Делаем свои изменения=&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Делаем свои изменения=&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485888</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485888"/>
		<updated>2018-05-29T11:55:06Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;==Публикация наших изменений на GitHub==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]]&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
On GitHub you can find projects, so called Repositories. Inside a project you might find several versions. Such a version is called a Branch. Joomla! has the following branches:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Make Your Changes=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Публикация наших изменений на GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/40/ru&amp;diff=485887</id>
		<title>Translations:Working with git and github/40/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Working_with_git_and_github/40/ru&amp;diff=485887"/>
		<updated>2018-05-29T11:55:05Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;==Публикация наших изменений на GitHub==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Публикация наших изменений на GitHub==&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485886</id>
		<title>Working with git and github/ru</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github/ru&amp;diff=485886"/>
		<updated>2018-05-29T11:51:19Z</updated>

		<summary type="html">&lt;p&gt;Cronolio: Created page with &amp;quot;* &amp;#039;&amp;#039;&amp;#039;3.5-dev&amp;#039;&amp;#039;&amp;#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Вступление =&lt;br /&gt;
Этот документ предоставит информацию о том, как сделать вклад в Joomla! CMS с помощью Git и GitHub. Если вы хотите сделать простое изменение  (только в одном файле), то это проще сделать с помощью этой документации: [[S:MyLanguage/Using the Github UI to Make Pull Requests|использование пользовательского интерфейса (UI) Github для создания pull request]]&lt;br /&gt;
Если вы хотите сделать более комплексные изменения или вам это просто интересно, то продолжайте читать!&lt;br /&gt;
&lt;br /&gt;
== Что такое Git и GitHub? ==&lt;br /&gt;
&lt;br /&gt;
Git это распределенная система контроля версий. Эта система записывает изменения в файл и хранит эти изменения в файле истории. Вы всегда можете взглянуть назад на старые версии вашего кода и восстановить их если требуется. Так как история записывается, Git очень полезен, когда вы работаете вместе с множеством людей над одним проектом.&lt;br /&gt;
&lt;br /&gt;
Here is how GitHub can be used. [https://www.github.com GitHub] is an website that helps manage Git Projects in a visual way. As owner of a project you can change the code and compare different versions. As a user of the project you can contribute by making a Pull Requests. A pull request is a request to the owner to pull some code into the project. You&#039;re offering a piece of code (perhaps a solution for a bug) and asking if the Project owner would like to use it. If the owner likes it, he can merge (add) it to his project.&lt;br /&gt;
&lt;br /&gt;
Joomla! использует GitHub и Git для управления кодом. Каждый может вносить вклад в программное обеспечение Joomla! Ссылка проекта Joomla! CMS на GitHub: https://github.com/joomla/joomla-cms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Начинаем =&lt;br /&gt;
== Регистрация на GitHub и установка Git ==&lt;br /&gt;
Сперва необходимо зарегистрироваться на [http://www.github.com GitHub]. Это бесплатно и легко сделать. Просто следуйте предоставляемым инструкциям.&lt;br /&gt;
&lt;br /&gt;
После регистрации необходимо установить Git. Последнюю версию Git можно найти здесь http://git-scm.com. Загрузите и откройте установщик. Git — это программа для CLI (Command Line Interface (интерфейс командной строки)). В начале может казаться всё запутанным или может быть немного страшно, но этот документ проведет вас через весь процесс.&lt;br /&gt;
&lt;br /&gt;
Если вы не продвинутый пользователь, тогда просто запустите установщик и нажмите кнопки &amp;quot;next&amp;quot; пока программа не будет установлена. Git не повредит вашу систему. Позже, если захотите, то сможете удалить его как и любую другую программу.&lt;br /&gt;
&lt;br /&gt;
После установки Git, запустите программу под названием &amp;quot;Git Bash&amp;quot;. Откроется командная строка. Сообщите Git своё имя (ник) и адрес электронной почты. Git будет использовать эту информацию, когда вы будете вносить вклад в проект.&lt;br /&gt;
С помощью следующих команд мы дадим эту информацию Git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;Your name&amp;quot;&lt;br /&gt;
git config --global user.email youremail@mail.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
В предыдущих командах и во всех следующих командах из этой документации каждая новая строка с символами это новая команда. Так что вы вводите первую строку с командой, нажимаете &amp;quot;Enter&amp;quot; и, затем, вводите следующую строку и опять &amp;quot;Еnter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Теперь вы готовы к использованию Git. Следуйте дальше для настройки тестовой установки.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Настройка тестовой инсталляции=&lt;br /&gt;
Для нашей тестовой установки нужен веб-сервер, который позволит вам установить и запустить Joomla! на вашем компьютере. Существуют множество программ, которые выполняют функции [https://www.mamp.info/ MAMP] и [https://www.apachefriends.org/ XAMPP]. Загрузите и установите одну из них.&lt;br /&gt;
&lt;br /&gt;
After the installation of such a program (I use MAMP in this documentation), we going to install the latest version of Joomla!. In our case, the latest version of Joomla! is not the last stable release. The last version of Joomla! is the staging branch on GitHub.&lt;br /&gt;
First, let me explain a little bit more about GitHub.&lt;br /&gt;
&lt;br /&gt;
== Fork and Clone Joomla! ==&lt;br /&gt;
On GitHub you can find projects, so called Repositories. Inside a project you might find several versions. Such a version is called a Branch. Joomla! has the following branches:&lt;br /&gt;
* &#039;&#039;&#039;Staging:&#039;&#039;&#039; эта ветка содержит последние исправления ошибок и новые возможности Joomla!&lt;br /&gt;
* &#039;&#039;&#039;Master:&#039;&#039;&#039; эта ветка содержит текущую стабильную версию Joomla!&lt;br /&gt;
* &#039;&#039;&#039;3.5-dev&#039;&#039;&#039; эта ветка содержит файлы Joomla! 3.5, которая не стабильна на момент написания статьи.&lt;br /&gt;
&lt;br /&gt;
On our test location we going to use the &#039;&#039;&#039;Staging&#039;&#039;&#039; branch but if we should use this branch directly we have problem. We cannot modify this branch because we are not the owner of it.&lt;br /&gt;
We are going to make a copy of it. On GitHub this is called a Fork. We are the owner of that copy so we can modify it. After modifying we compare our fork with the original project. Then we can make a Pull Request for the changes we&#039;ve made. More about that later.&lt;br /&gt;
You can Fork a branch by pressing the Fork button on the [https://github.com/joomla/joomla-cms Joomla! CMS Github Repository]. This button is located at the right top of the page.&lt;br /&gt;
[[File:Github-fork-button.png|none]]&lt;br /&gt;
&lt;br /&gt;
After forking, we are going to install Joomla! on our local Web server. Go to the folder were you can run files on you Web server. Most of the program use a folder called &amp;lt;tt&amp;gt;htdocs&amp;lt;/tt&amp;gt;. Once we are inside that folder, press the right mouse button an click on: &amp;quot;Git Bash Here&amp;quot;. The command line will open for this location.&lt;br /&gt;
&lt;br /&gt;
Type the following command to download the files from your Fork of the Joomla! CMS to your computer. Please replace &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt; with the username you are using on GitHub.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git clone https://github.com/username/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all commands given in this documentation, you have to open Git via the above described steps. Please remember that for other commands in this documentation. &lt;br /&gt;
&lt;br /&gt;
Once Git is ready, open your browser and go to the installation on your localhost. Usually the URL is something like: &amp;lt;tt&amp;gt;http://localhost/joomla-cms&amp;lt;/tt&amp;gt;. You will now see the default Joomla! installation process. &lt;br /&gt;
&lt;br /&gt;
== Установка Joomla! ==&lt;br /&gt;
The installation of Joomla! for our local test installation is almost the same as a regular installation. There are a two little differences.&lt;br /&gt;
&lt;br /&gt;
For the database settings, the password and username are default. Most often the username is &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; and the password is also &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt; or there is no password. If you still can&#039;t connect to the database, look in the manual for your local Web server for the username and password.&lt;br /&gt;
&lt;br /&gt;
The last difference is the final step of the installation. Normally we must delete the installation folder to go further to the back-end or front-end of Joomla!. For a test installation we can skip this part and go directly to the back-end or front-end. Don&#039;t remove the installation folder. It can be very useful when we have to install Joomla again.&lt;br /&gt;
&lt;br /&gt;
=Make Your Changes=&lt;br /&gt;
Now it is time to made our file changes to Joomla!. All changes we make will be registered and monitored by Git. At any moment you can type the command &amp;lt;tt&amp;gt;git status&amp;lt;/tt&amp;gt; to see which files are modified or untracked. Untracked means that the file at that location is new for Git.&lt;br /&gt;
&lt;br /&gt;
If you made a mistake or you would like to restore a file, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout path/to/file&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to remove all changes you made, use the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout .&lt;br /&gt;
git clean -f -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command resets all files. The second command removes untracked files and folders.&lt;br /&gt;
&lt;br /&gt;
==Publish Our Changes on GitHub==&lt;br /&gt;
&lt;br /&gt;
=Push the Change to the Fork=&lt;br /&gt;
After making our changes, we have to upload our changes to our repository on GitHub. After that, we can make a pull request with our changes.&lt;br /&gt;
&lt;br /&gt;
Uploading changes is called &amp;lt;tt&amp;gt;push&amp;lt;/tt&amp;gt; in Git terms. Before we can do that, we have to do something very important. We must create a new branch for our changes. (A branch is a version of our project, remember?) If we don&#039;t do that and made our change directly to the staging branch, the first time there won&#039;t be a problem. But if we made changes for the second time, and the change we made the first time are not merged yet, all these changes will registered too as new changes.&lt;br /&gt;
&lt;br /&gt;
So the first command we are going to run will create a new branch. It will prevent the above described problem.&lt;br /&gt;
Replace name-new-branch with the name of the new branch. This name must be short, and can only contain lower case letters and numbers. Do &#039;&#039;&#039;NOT&#039;&#039;&#039; use spaces. Instead of spaces, use - (minus).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git checkout -b name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next command tells git that all made changes are good, and are ready to commit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git add --all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command adds our change to the branch. Please replace the message with a short description of your changes. This description will be the title of the pull request we are going to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git commit -m &amp;quot;description&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final command will push (upload) the changes to our fork. Please replace name-new-branch with the name of the branch you made a few steps above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push origin name-new-branch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compare Forks and Make a Pull Request==&lt;br /&gt;
After pushing our change to GitHub, go to your fork of the Joomla! CMS.&lt;br /&gt;
&lt;br /&gt;
=Дополнительная информация=&lt;br /&gt;
Because the staging version of Joomla! can change any moment, it is very useful to have the possibility for keeping our fork up-to-date. We can do that by adding a remote to our forked project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git remote add upstream https://github.com/joomla/joomla-cms.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now added a remote called &amp;quot;upstream&amp;quot;. With the following command, Git will search for new contribution (commits) in the staging branch we don&#039;t have in our fork. If it found some, it will add them to our fork:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git pull upstream staging&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The changes are now only made on our local fork. To upload them to GitHub use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
git push&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Bug Squad]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category:GitHub]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cronolio</name></author>
	</entry>
</feed>