====== github ====== [[https://github.com]]\\ [[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]] [[it:github:ssh|Авторизация по ключам ssh]]\\ [[it:github:ssl|SSL]]\\ [[it:github:branch|Ветки]]\\ [[it:github:tag|Теги]]\\ ---- __**Создать локальный проект и залить на github**__ $ mkdir project $ cd project $ git init $ git remote add origin https://github.com/ura2404/project.git $ git push -u origin master ---- __**клонировать**__ $ git clone https://github.com//.git $ git clone https://github.com//.git . # в текущую папку ---- >$ git add . >$ git reset >$ git commit -m "Текст" >$ git tag vX.X.X >$ git push >$ gir push --tags ---- __**Для больших файлов**__ https://git-lfs.github.com/ >$ sudo apt install git-lfs >$ git lfs track "*.psd" >$ git add .gitattributes Если нет в пакете, то [[https://packagecloud.io/github/git-lfs]] >$ git lfs install посмотреть файлы, обрабатываемые lfs >$ git lfs ls-files удалить >git lfs uninstall ---- __**submodules**__\\ [[https://git-scm.com/book/ru/v2/Инструменты-Git-Подмодули|Инструменты Git - Подмодули]] {{it:github:git_-_podmoduli.mht|mht}}\\ >git submodule add https://github.com//.git <путь у паке назначения> ---- __**subtree**__\\ [[https://www.atlassian.com/git/tutorials/git-subtree]]\\ ---- __**Отключение авторизации по паролю**__\\ > remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. > remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. нужно сгенерировать токен, который будет вместо пароля\\ [[https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token]] ----