Skip to content

Latest commit

 

History

History
executable file
·
8 lines (7 loc) · 401 Bytes

Commit-only-one-dir-when-all-files-staged.md

File metadata and controls

executable file
·
8 lines (7 loc) · 401 Bytes

Ситуация:

Все файлы проекта были добавлены в staged средствами git add,
но из них нужно закомитить и впоследствии сделать push только определенной папке.

Решение:

git commit -m "Только указанная папка" -- my-dir