ExamPM/Correct.txt
2025-04-14 12:28:47 +03:00

18 lines
645 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 1 раз
cd папка проекта
git init
git checkout -b main
touch .gitignore
*пишем в .gitignore какие файлы игнорируются при загрузке (полный путь к папке)
*если внутри корня папки, просто название, если внутри то со слешами
*каждый пункт пишется с новой строки
*Например (.vs - bin - obj)
//
//
// после каждого изменения
git add .
git commit -m "Название коммита"
git remote add origin адрес репозитория
git push -u origin main
//