correct command for git
This commit is contained in:
parent
0746223f55
commit
51c26fce7d
14
Correct.txt
Normal file
14
Correct.txt
Normal 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
|
||||
//
|
Loading…
x
Reference in New Issue
Block a user