# Перечислить конкретные файлы, которые нужно коммитить
hg commit file_1 file_2
hg commit foo.c foo.h dir/
# исключить файлы из коммита
hg commit -X file_3
# Включить в коммит только файлы, подходящие под паттерн
hg commit -I foo.c -I "**/*.h"
Last active
October 10, 2018 14:33
-
-
Save kuzminT/a4a7923b68b7f4a2e39bf0e4c8124b48 to your computer and use it in GitHub Desktop.
Mercurial tips
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment