For example, if I want to change a branch git checkout testing
(from dev
), I'll get this warning:
error: Your local changes to the following files would be overwritten by checkout:
app/src/api/server.js
But as you can see, the file is being ignored:
Why is this happening?