I git cloned an arduino sketch that requires me to remove the libraries directory and place it elsewhere outside the repo via mv ./libraries $sketchdir/sketch_libraries/
. I can't compile the sketch with the directory present so I deleted it; however, when I run git status
it complains about the missing contents of the libraries directory.
I'd like to tell git to ignore the fact that this directory is missing on purpose and stop pestering me. I tried adding libraries/*
to .gitignore, but that failed to give me the desired results.
How can I accomplish this?