Инструменты пользователя

Инструменты сайта


it:github

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
Последняя версияСледующая версия справа и слева
it:github [2022/01/08 10:59] – [github] ura2404it:github [2024/03/19 08:43] ura2404
Строка 2: Строка 2:
  
 [[https://github.com]]\\ [[https://github.com]]\\
-[[https://git-scm.com/book/ru/v2]] {{it:progit_v2.1.67.pdf}} - книга+[[https://git-scm.com/book/ru/v2]] {{it:progit_v2.1.67.pdf}} - книга\\ 
 + 
 +[[https://gitexplorer.com/]] - on-line подсказки\\ 
 + 
 +[[http://lib.custis.ru/Линус_Торвальдс_о_GIT_на_Google_Talks]] – Линус Торвальдс про git\\ 
 + 
 + 
 +[[https://maxsite.org/page/how-to-put-your-project-on-github-com]] - Как выложить свой проект на GitHub.com\\ 
 +[[https://maxsite.org/page/github-private]] - Приватные репозитории GitHub для работы с клиентами\\ 
 +[[https://www.atlassian.com/git/tutorials/saving-changes/gitignore]] - про .gitignore\\ 
 +[[https://tyapk.ru/blog/post/gitignore]] - О файле .gitignore\\ 
 +[[https://git-scm.com/book/ru/v2/Appendix-C%3A-Команды-Git-Совместная-работа-и-обновление-проектов]] - Совместная работа и обновление проектов\\ 
 +[[https://git-scm.com/book/ru/v2/Основы-Git-Запись-изменений-в-репозиторий]] - Запись изменений в репозиторий\\ 
 +[[https://youtu.be/zZBiln_2FhM]] - Git и GitHub Курс Для Новичков (Владилен Минин)\\ 
 +[[https://youtu.be/SEvR78OhGtw]] - Git. Большой практический выпуск 
 + 
 +[[https://youtu.be/VJm_AjiTEEc?si=tApSTsXTit1o7pQM]] - Vlad Mishustin: Что такое Git для Начинающих / GitHub за 30 минут / Git Уроки\\ 
 +[[https://youtu.be/F7FnnfnB9YY?si=aoFeHqQXTOUXdhts]] - Vlad Mishustin: Конфликты для Начинающих / Git Cherry Pick, Git Revert, Git Reset\\ 
 + 
 +[[https://www.youtube.com/playlist?list=PL0k-9Y7O1GweYJHN0QfrW2rUjWxrszsg_]] - Front-end Science із Сергієм Пузанковим 
 + 
 +[[https://youtu.be/dpgaygx46Go]] - Куда уходить с GitHub?\\
  
 ---- ----
  
-клонировать\\ +[[it:github:faq|FAQ]]
->$ git clone https://github.com/<USER>/<PROJECT>.git+
  
-клонировать в текущую папку\\ +[[it:github:ssh|Авторизация по ключам ssh]]\\ 
->$ git clone https://github.com/<USER>/<PROJECT>.git .+[[it:github:ssl|SSL]]\\ 
 + 
 + 
 +[[it:github:branch|Ветки]]\\ 
 +[[it:github:tag|Теги]]\\ 
 + 
 + 
 +---- 
 + 
 + 
 +__**Создать локальный проект и залить на github**__ 
 +<code bash> 
 +$ mkdir project 
 +$ cd project 
 +$ git init 
 +$ git remote add origin https://github.com/ura2404/project.git 
 +$ git push -u origin master 
 +</code> 
 +---- 
 + 
 +__**клонировать**__ 
 +<code> 
 +$ git clone https://github.com/<USER>/<PROJECT>.git 
 +$ git clone https://github.com/<USER>/<PROJECT>.git . # в текущую папку 
 +</code> 
 +----
  
 проверить статус\\ проверить статус\\
Строка 35: Строка 80:
 ---- ----
  
-__**Proxy**__\\ +__**Git Config**__\\ 
->$ git config %%--global%% http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port+$ git config %%--global%% http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port | proxy | 
 +| $ git config --local core.autocrlf <true%%|%%false> | | 
 +| $ git config http.sslVerify "false" | отключить ssl | 
 +| $ git config --global user.name "<name>" | | 
 +| $ git config --global user.email "<email>" | | 
 +| $ git config --global user.password "<password>" | |
  
 ---- ----
Строка 65: Строка 115:
 __**subtree**__\\ __**subtree**__\\
 [[https://www.atlassian.com/git/tutorials/git-subtree]]\\ [[https://www.atlassian.com/git/tutorials/git-subtree]]\\
----- 
- 
-[[https://maxsite.org/page/how-to-put-your-project-on-github-com]] - Как выложить свой проект на GitHub.com\\ 
-[[https://maxsite.org/page/github-private]] - Приватные репозитории GitHub для работы с клиентами\\ 
-[[https://www.atlassian.com/git/tutorials/saving-changes/gitignore]] - про .gitignore\\ 
-[[https://tyapk.ru/blog/post/gitignore]] - О файле .gitignore\\ 
-[[https://git-scm.com/book/ru/v2/Appendix-C%3A-Команды-Git-Совместная-работа-и-обновление-проектов]] - Совместная работа и обновление проектов\\ 
-[[https://git-scm.com/book/ru/v2/Основы-Git-Запись-изменений-в-репозиторий]] - Запись изменений в репозиторий 
- 
 ---- ----
  
Строка 84: Строка 125:
 ---- ----
  
-===== Решения ===== 
- 
-[[https://dev-tips.ru/blog/post/oshibka-the-remote-end-hung-up-unexpectedly|Ошибка fatal: The remote end hung up unexpectedly при выполнении git push]] {{it:github:oshibka_fatal-_the_remote_end_hung_up_unexpectedly_pri_vypolnenii_git_push.mhtml|mht}} 
-<code bash> 
-git config http.postBuffer 262144000 
-// или 
-git config --global http.postBuffer 262144000 
-</code> 
it/github.txt · Последнее изменение: 2024/03/21 05:43 — ura2404