![]() UVVs comment is on the right track, but unfortunately the return code of git status doesn't change when there are uncommitted changes. There's no guarantee that the output will remain the same in future versions of Git or in differently configured environments. Parsing the output of git status is a bad idea because the output is intended to be human readable, not machine-readable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |