correct command for git

This commit is contained in:
Bogdan 2025-04-14 11:26:36 +03:00
parent 0746223f55
commit 51c26fce7d

14
Correct.txt Normal file
View File

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