30. git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: 2.txt # # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: 1.txt # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # 1.html # 2.html
31. git add ./ Обычно делают так: git add ./ git commit -a -m”Какой красивый фикс” А если изменений много?
32.
33.
34. git add -p — для добавления изменений по частям