我有一个媒体文件夹,可以在开发过程中存储我上传的所有图像,并且我将我的django(1.5.1)项目推送到heroku上的开发服务器。我有媒体文件夹
media/
# cache and images were commited before .gitignored was added
cache/ # store thumbnails
images/ # store images
.gitignore
<。> .gitignore有
*
!.gitignore
问题是每当我git推送到heroku时,我的所有测试上传都被git消灭了。有办法解决这个问题吗?