Images in a rails app not getting pushed to git
I have a simple app that I push to github. It contains images under public/images
folder. Images are of extension .png
I've pushed the code onto git hub and it got pushed w/out any errors. However, when I go to my repository from the browser...I do not see the images folder under public.
Why are they being ignored?
My .gitignore file contains:
log/*.log
tmp/*
tmp/**/开发者_运维知识库*
doc/api
doc/app
db/*.sqlite3
*.swp
* ̃
.DS_Store
For some unholy reason, it is not showing up in my navigation either. but IS showing in the terminal...
I would suggest doing the following:
git add public/images/*
git commit -a -m "Adding images"
git push origin
I hope this helps!
精彩评论