Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Git1.7z
Binary file not shown.
126 changes: 125 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,125 @@
# git_seminars
# git_seminars
������ � Markdown
��� ���������� ������ � ����� README.md �� ����� ������������ ���� �������� Markdown. ��������, ����� �������� ���������, �� ����� ������������ ������ #:

markdown

# ��������� ������� ������
����� �������� ��������, �� ����� ������������ ��������� ���������:


![�������� ��������](����/�/�����.png)
� ����� �������� ������, �� ����� ������������ ��������� ���������:


[����� ������](����� ������)
������ ������ � Markdown
��� ������ ���������� ������ README.md:

# �������� � �������� ������ � �������������� Git

## ���� �����
��������� ������������ �������� ������ �� ������� Git � ������, ��� �� ����� ��������� ������ � ���������.

## ���� �� ������ � Git
1. ���������� Git �� ���� ��������� (���� ��� �� ����������).
2. ������� ��������� ����������� Git � ����� �������.
3. �������� ����� ������� � ������ Git � ������� ������� `git add`.
4. ������� ������ � ������� ������� `git commit`. � ����������� � ������� ������� ���������.
5. �����������: ������� ����� Git ��� ������������� ��� ����� �������.
6. ������������ ��������� ����������� �� ��������� ������ � ������� ������� `git push`.
7. �������� ���������, ��������� ������� ����������� �������, � ������� ������� `git pull`.

## ������ ������������� Git
�����������, �� ������� ������� ������ � ����� `my_project`. ��� ������, �� �������������� ��������� ����������� � ��������� � ���� ��� ����� �������:

```bash
cd my_project
git init
git add .
git commit -m "Initial commit"
����� ����� �� ����� ������� ��������� ����������� �� GitHub ��� ������ ������� � ������������ ���� ���������:

git remote add origin https://github.com/my_username/my_project.git
git push -u origin master
������ �� ����� �������� ��� �������� ������ � ������� �����������. ���� ���-�� ���� ��������� � ��������� �����������, �� ����� �������� �� � ������� ������� git pull:

git pull
������ � ���������������� ����
��� ������ ��������� � ����� my_project. � �������� �� � ���������������� ����, ����� �� ����� ������� � ������� ��:

�������������� �������
����������� ���� Git
����� "Pro Git"
Copy

## ����������

�������� ������ �������� ������ ������������ ��� ������ � ��������� ����� ���������. Git - ���� �� ����� ���������� ������������ �������� ������,
������� ��������� ��������� � �������� ������ ��� ��������� � �������. �������, ���� ���� ����� ��� ������ ������ ������ � Git � ��������� ������ � �����.
# �������� � �������� ������ (��������)
���� 2. ������ ������������� �������� ������
���������� ������ � ������, ������� �� �������� 1. ������� � ����� ��� ������� 4 �����. ����������� ������� �������� � ��������� ���. ����� � ������������ � ����������� ������� ��������� � �����.:
�������� ������ - ��� �������, ������� ��������� ����������� ��������� � ������ � ������, ������� ��������� ������ ������ � ������������ � ���������� ������� � ������ �������������. ��� ����� ������� ��� ������ � �������, ����� ��������� ������� �������� ��� ����� �������� � ������ ��������� � ���� � ��� �� ����.
��� ����������� ������ � ������, ������� �� �������� 1, ���������� ��������� ��������� ����:
1. ������� ����������� �� ����� �� ���-��������� �������� ������, ��������, GitHub ��� GitLab.
2. ����������� ����������� �� ���� ��������� � ������� ������� git clone <url �����������>.
3. ������� ����� ����� � ������� ������� git branch <�������� �����>.
4. ������������� �� ����� ����� � ������� ������� git checkout <�������� �����>.
5. ������ ��������� � ����.
6. ����������� ��������� � ������� ������� git commit -m "<�������� ���������>".
7. ��������� ���� 3-6 ��� ��� ����, �������� ����� �����, ����� ��������� � ������� ��.
8. �������� ���� ������ � ����� � ����� �� �����.
9. ����������� ��������� � ���� �����.
10. ������������� �� ������ ����� � �������� �� �� ������, �� �� ������ ��������.
11. ����������� ��������� � ���� �����.
12. ���������� ����� ��� ��� ����� � ������� ������� git merge <�������� �����>.
13. ������� ��������� �� ������ � ���, ��� ��������� ��������.
14. ��������� �������� �������, ������ ������ �������� ������.
15. ����������� ��������� ����� ���������� ���������.
16. �������� ��� ����� � ��������� � ��������� ����������� � ������� ������� git push origin --all.
17. ���������, ��� ��� ��������� � ����� ������� ����������� � ��������� �����������.
18. ������� ����� � ������������ � ����������� ������� � ��������� ��� � �����.
����� �������, �� ���������� ������ � ������, ������� �� �������� 1, ������� ��������� �����, ������ ��������� � ��������� ��������, ��������� �������� ������.
��� ��������� ��� ���������� �������� ��� �������� � ������� � ��������� ������� ���������.

�������� � �������� ������ (��������)
���� 3. ������ � ��������� �������������
��������� ���� � ����������� �� ������ � git (������ �������� �������) � ��������� pull request � ����������� �������������. (https://github.com/MarzipanCoin/git_seminars)
���� � ����������� ���������� ��������� ����������� � ������ � ���������� �������������.
� ������� ���������� �������� ������������� pull request.:
��� ������ � ���������� ������������� � Git ���������� ��������� ��������� ����:
1. ������� ��������� ����������� �� ����� �� ���-��������� �������� ������, ��������, GitHub ��� GitLab.
2. ������� ��������� ����������� � ��������� ������������ � ������� ������� git remote add <�������� �����������> <url �����������>.
3. ��������� ��������� ��������� � ��������� ����������� � ������� ������� git push <�������� �����������> <�������� �����>.
4. �������� ��������� �� ���������� ����������� � ������� ������� git pull <�������� �����������> <�������� �����>.
5. ����������� ������ ��������� ������������ � ������� ������� git remote -v.
6. ������� ����� � ��������� ������������ � ������� ������� git remote remove <�������� �����������>.
7. �������� ��� ���������� ����������� � ������� ������� git remote rename <������ ��������> <����� ��������>.
8. ������ ��������� � ��������� ����������� ����� pull request. ��� ����� ���������� ��������� ��������� ����:
8.1. ������� ����� � ��������� ����������� � ������� ������� git branch <�������� �����>.
8.2. ������������� �� ��������� ����� � ������� ������� git checkout <�������� �����>.
8.3. ������ ��������� � �����.
8.4. ����������� ��������� � ������� ������� git commit -m "<�������� ���������>".
8.5. ��������� ����� � ��������� ����������� � ������� ������� git push -u <�������� �����������> <�������� �����>.
8.6. ������� pull request �� ����� ���������� �����������.
8.7. ����� ������������� � ������� ��������� � ��������� �����������.
��� ���������� ����� � ����������� �� ������ � Git ����������� � ������ � ���������� �������������, ���������� �������� ��������� ���� ����.
����� ����� ���������� ��������� pull request � ����������� �������������. ��� ����� ����� ��������� ��������� ����:
1. ������� fork ����������� ������������� �� GitHub.
2. ������������ ���� fork ����������� �� ���� ��������� � ������� ������� git clone <url �����������>.
3. �������� ��������� � ���� � �����������.
4. ����������� ��������� � ������� ������� git commit -m "<�������� ���������>".
5. ��������� ��������� � ���� fork ����������� � ������� ������� git push origin <�������� �����>.
6. ������� pull request �� ����� GitHub, ������ ���� fork ����������� � ����� � �����������.
7. ������� ������������� � ������� ��������� � ����������� �������������.
����� ���������� �������� ������������� pull request � �������, ���������� ��������� ��������� ����:
1. ������� ���� GitHub � ������� � ���� fork ����������� � �����������.
2. ����� ��������� pull request � ������� ���.
3. ������� �������� ������ � �������� pull request.
4. ��������� �������� � ������� ������� (��������, PNG ��� JPEG).
5. ��������� �������� � �������, ��������� ��������������� ������� �������� ����� ��� ��������� ��� � ���� ��������.
6. ���������, ��� �������� ������� �������� � ������������ � �������.
����� �������, �� ��������� ���� � ����������� �� ������ � Git ����������� � ������ � ���������� ������������� � ��������� pull request � ����������� �������������.
����� �� ���������� �������� ������������� pull request � ������� ��� ���������� ��������.
1.
Binary file added ScreenShot_Doc3.docx
Binary file not shown.
Binary file added ~$reenShot_Doc3.docx
Binary file not shown.