![]() ![]() Several other people on StackOverflow have mentioned overwriting, moving, replacing, or generally fiddling with. It outputs the active branch, remote sync status, and a list of modified files in the working directory and staging area. ![]() The git status command provides useful information about the current state of your Git repository. Submodule to see if it contains changes ( link)Īs to why you seem to have a corrupted git repository? I don't know. References What does Git status do One of the first commands you'll use when learning Git is git status. Status run "git status -porcelain" inside each populated If you're using submodules, it's possible one of those has become corrupted - this is relevant because So the issue you have is related to the git status call, which is by default trying to format its output into something easy to parse.įrom the above posts, noticably the answers here and the mailing list contentets, I would suggest that, for whatever reason, your git repository has become corrupted. Stable across git versions and regardless of user configuration. ![]() This is similar to the short output, but will remain Give the output in an easy-to-parse format for scripts. man git-status helpfully informs us what the -porcelain flag is for: We divide git into high level ("porcelain") commands and low level ("plumbing") commands.įrom the above posts, it would appear that, when git status is run, it calls git status -porcelain. Some overview of terminology, from the man git page: Nobody has given an explanation why it occurs, so I thought I'd add what I've found. Update failed (Failed to execute git status -porcelain -untracked-filesno error: bad index file sha1 signature fatal: index file corrupt ) RuntimeException Failed to execute git status -porcelain -untracked-filesno error: bad index file sha1 signature fatal: index file corrupt. Googling brings up a mailing list message with this error. This error message is found in some similar StackOverflow questions: here, here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |