You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a PR is landed that adds new files that have ignored paths (e.g. if someone force-added foo/fixtures/node_modules/bar), the added files will silently not be synced.
As far as I can tell there's no way to temporarily disable the usage of .gitignore for a single git command, and there's no way with git apply to force ignored filepaths to be created
Possible solution
One possible fix could be to find all the added files from each diff, use git check-ignore to determine whether their path is ignored, and force git add them individually
The text was updated successfully, but these errors were encountered:
If a PR is landed that adds new files that have ignored paths (e.g. if someone force-added
foo/fixtures/node_modules/bar
), the added files will silently not be synced.As far as I can tell there's no way to temporarily disable the usage of
.gitignore
for a single git command, and there's no way withgit apply
to force ignored filepaths to be createdPossible solution
One possible fix could be to find all the added files from each diff, use git check-ignore to determine whether their path is ignored, and force
git add
them individuallyThe text was updated successfully, but these errors were encountered: