git add * - добавить все файлы
git commit -m "name" - сохрание
git log -просмот версий
git log --pretty=format:"%h - %an, %ar : %s"
git status - статус изменений
git branch - ветки просмотр
git checkout -b newbraunch11 - создание новой ветки
git checkout newbraunch11 - переключение на ту ветку
*********node
touch .gitignore && echo "node_modules/" >> .gitignore
или
git rm -r --cached node_modules && touch .gitignore && echo "node_modules/" >> .gitignore
Комментариев нет:
Отправить комментарий