Repository navigation
Temporarily save untracked files, like you do for unstaged changes in a file #2969
tyler-breisacher-zipline
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When prek runs, if there is a combination of staged and unstaged changes, you get:
and then that patch is reapplied after the hooks run. But, if there is a file that is totally untracked (
??ingit status --short) that file is left alone, which means hooks might run on it. Would it be possible to include the contents of untracked files in that patch, and remove them when running hooks, and then put them back after the hooks finish?All reactions