Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downstream repository is checked for uncommitted changes and commits …
…made in detached HEAD state when `update`ing/`restore`ing Git dependency Checking for uncommitted changes prevents hard-to-track bugs as well as non-repeatable builds that might occur by merging user's changes into the new working directory. Checking for detached commits makes working in the downstream repository safer - it saves the user from having to inspect reflog after "losing" her commits. It also forces the user to move the changes to a permanent branch when making meaningful changes.
- Loading branch information