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

Answers


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.


Need Your Help

Laravel: validate a integer field that need to be greater than other

php laravel laravel-5

Have fields that are optionals only if the two are not present:

Javascript pub/sub implementation works for functions, but not objects' methods

javascript function object methods publish-subscribe

I'm trying to implement a simple Pub/Sub object in javascript, and here's my code:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.