-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
If you have a git repository that contains a file that is committed but matches a .gitignore rule, it will be checked out by git but not by gitignore.nix.
Example repository:
git init test
cd test
mkdir dir
touch dir/file
git add dir/file
git commit -m test
echo 'dir/*' > .gitignore
git add .gitignore
git commit -m test2If you clone this repository with git, dir/file will be checked out inside the cloned repo.
However, if you use gitignore.nix, it will filter dir/file, thus resulting in what appears to be an empty repository...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels