git oddity; local modified images are not used on production after deployment ( not updated )
I have the strange issue that certain images from my webapp are not updated when I deploy my app with rails. The old images are still there.
What would be a good way to check if my git repo has all the changes available?
Normally ill do git commit . -m 'fixes' git add . and use a gitignore
You can check with git-ls-files
In your case: git ls-files public/ to return a list of files under git. Compare that with git ls-files public -o to list all other files, such as files that are ignored or files that are not (yet) in the index.
Also, just a simple git status will show what files are staged, unstaged, untracked and so on.