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

Skip files in .gitignore and alternatives #14

Open
lduran2 opened this issue Feb 1, 2022 · 1 comment
Open

Skip files in .gitignore and alternatives #14

lduran2 opened this issue Feb 1, 2022 · 1 comment

Comments

@lduran2
Copy link
Member

lduran2 commented Feb 1, 2022

Skip files that are in .gitignore.

Currently, you can add the unzipped directories to .gitignore. However, this is about saving time on commit. There are currently 3 alternatives

  1. enhance .gitignore of unzipped directories by using these to filter unzipping
  2. use the zip files as filters for .gitignore
  3. check which files are currently added.

Option 3 contradicts current behavior which unstages a zipped file once it's unzipped. So this may require an additionally hook to add the file back presumably after commit. This may be closer to expected behavior.

@lduran2
Copy link
Member Author

lduran2 commented Feb 1, 2022

Option 3 is the best choice. Currently zipped archives will leak onto new branches.

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

No branches or pull requests

1 participant