开发者

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...

Images in a rails app not getting pushed to git


I would suggest doing the following:

git add public/images/*
git commit -a -m "Adding images"
git push origin

I hope this helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜