fracz/git-exercises

Can't ignore libraries folder - Exercise "ignore-them"

psnluiz opened this issue · 3 comments

Hello, my college has assigned the first 7 exercises as work.

Been trying to do the "ignore-them" and keep failing at excluding the libraries folder.

Example of what I've tried:
/libraries
libraries/
libraries/*

None seem to work...

I've encountered the same problem. It seems to be a problem with the checkout, bacause after I hit git verify I get this responce:

Verifying the ignore-them exercise. Hold on...                           
 Exercise: ignore-them
                                                               
 Status: error: The following untracked working tree files would be overwritten by checkout:                                                                                       .gitignore                                                                   
Please move or remove them before you switch branches.                               
Aborting                                                                             
error: The following untracked working tree files would be overwritten by checkout:          
.gitignore                                                                   
Please move or remove them before you switch branches.                             
Aborting                                                                            
 error: The following untracked working tree files would be overwritten by checkout:
 .gitignore
 Please move or remove them before you switch branches.   
 Aborting                                          
error: The following untracked working tree files would be overwritten by checkout: 
.gitignore                                                                   
Please move or remove them before you switch branches.                               
Aborting                                                                             
FAILED                                                                               
libraries directory is not ignored

It happens even if other mistakes in the excercise are made (i.e. .gitignore is empty)

Getting Same error that libraries directory is not ignored
Please give a solution
Thanks for you great work

fracz commented

Should work now. Thank you.