Problem :
I added the folder to the .gitignore file.
Once I do the git status
it tells me
# On branch latest
nothing to commit (working directory clean)
But when I try to change my branches I get the below:
My-MacBook-Pro:webapp marcamillion$ git checkout develop
error: The following untracked working tree files would be overwritten by checkout:
public/system/images/9/thumb/red-stripe.jpg
public/system/images/9/original/red-stripe.jpg
public/system/images/8/thumb/red-stripe-red.jpg
.
.
Please move or remove them before you can switch branches.
Aborting
This is how the .gitignore file looks like:
.bundle
.DS_Store
db/*.sqlite3
log/*.log
tmp/**/*
public/system/images/*
public/system/avatars/*
How do I get this working for me so I can switch my branches without deleting those files?