Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not re-stage changes to partial files #8

Open
motiz88 opened this issue May 16, 2017 · 3 comments
Open

Does not re-stage changes to partial files #8

motiz88 opened this issue May 16, 2017 · 3 comments
Labels

Comments

@motiz88
Copy link
Owner

motiz88 commented May 16, 2017

Originally reported by @Stupidism in #5 (comment):

When I want to commit partial files, it can't add fixed part.

@motiz88
Copy link
Owner Author

motiz88 commented May 16, 2017

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.

@Stupidism
Copy link

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

@motiz88
Copy link
Owner Author

motiz88 commented May 17, 2017

@Stupidism I'm afraid I can't look into that right now but I'm all for further discussion here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants