fracz/git-exercises

Ignore-them exercise always fails with generated *.exe file

sferrazzal opened this issue · 15 comments

touch .gitignore
echo >> .gitignore "*"
git add -f .gitignore
git commit -m "Still doesn't work"
git verify

Result: FAILED. Blah.exe is not ignored

Also fails with this .gitignore:

*.exe
*.jar
*.o
libraries/*

Existing example files are ignored by this .gitignore, but the generated blah.txt files always fail.

fracz commented

Thank you for letting me know!

Yesterday I ran out of space on the server and a few strange things happened. You should be able to pass this exercise now.

Good luck!

The issue seems still to be valid!

This exercise does not ignore .exe files even if I put *.exe in a file named basic.gitignore

I am running into the same issue here.
Even after replicating the .gitignore file as outlined above, .exe files aren't being ignored.

fracz commented

Should be ok now

Hello! I'm still facing this issue as well with the following Fail message:

  • Verifying the ignore-them exercise. Hold on...
  • Exercise: ignore-them
  • Status: FAILED
  • KNa0mgfq.exe file is not ignored

Thank you!

I'm getting
Status: FAILED
libraries directory is not ignored

and my code is:
*.exe
*.jar
.o
libraries/

pls help

fracz commented

Are you sure you wrote the rules in the .gitignore file and committed it?

same problem here

Getting Same error that libraries directory is not ignored
Seems there is open issue on the ignore-them branch here in #41

In .gitignore:

*.exe
*.o
*.jar
libraries/

extension files ignored but not a folder. tried different combinations still failed.

The issue stands still

Hi! I'm getting the same issue:

git verify
Verifying the ignore-them exercise. Hold on...  
Exercise: ignore-them  
Status: FAILED  
F2nwA8o0.exe file is not ignored

Thank you!

fracz commented

That means that your .gitignore file would not ignore such file (this is a verification mechanism). Are you sure your .gitignore file is committed?

.gitignore was committed when I got the "Failed" status 2 days ago.
I've tried a different procedure and can confirm that the verification mechanism works like a charm, the mistake was mine.
Looks like the problem was due to a .txt extension on the .gitignore file.

Dziękuję @fracz for your support and for the exercises!