It usually works, if you stage the changed files.