Git , - , JetBrains , , Git , , Git -. Git :
git commit, git commit, --only, --include, Git , . , GIT_INDEX_FILE, . 1 Git , pre-commit , git write-tree .
, , , , , --include vs --only, - .
- , , . , -let, test, - "headvers" (HEAD) . , "indexvers" git add test. , test "indexvers". , "", git commit --only test, git commit --include test.
, : , workvers, Git . ? , --include vs --only? , "" ! , , , , Git , , , workvers ( , ). , , .
( Git , / , " , " " temp -index, temp-index".)
1 , , , . , Git "" , , GIT_INDEX_FILE . , , --include vs --only.
, git commit -a . , Git 1.7 Git 2.10, git status , git commit -a.