Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 567 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 567 Bytes

check-submodule-all-commit

Installation

git clone https://github.com/ytyubox/check-submodule-all-commit
make -C check-submodule-all-commit
cp check-submodule-all-commit/pre-commit pre-commit
rm -rf check-submodule-all-commit

Will generate a execute file name pre-commit

Usage

git submodule add https://github.com/ytyubox/check-submodule-all-commit
touch check-submodule-all-commit/YetcommitFile
touch committedFile
git add committedFile
git commit -m 'I want to commit, but I can't, because there some modified in my submodules'