git-exec-and-restage
git-exec-and-restage copied to clipboard
Does not re-stage changes to partial files
Originally reported by @Stupidism in https://github.com/motiz88/git-exec-and-restage/issues/5#issue-228844635:
When I want to commit partial files, it can't add fixed part.
This is the intended behaviour. I don't foresee it changing unless someone makes a very compelling case for a specific thing we can always safely do with partially staged files, which will never trash anyone's commits.
If you are OK with git stash
I did figure sth out with git stash
https://github.com/Stupidism/react-starter-kit/blob/feature/perfect-lint-staged/package.json#L209-L216
@Stupidism I'm afraid I can't look into that right now but I'm all for further discussion here.