Click here to Skip to main content
15,793,547 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My heroku app uploads images to public/uploads/images folder.

when I make changes to git repo locally and deploy again. It also removes images in remote public/uploads/images folder.

I want to ignore that folder and keep remote image files.

What I have tried:

I have tried to put that folder .gitignore using following commands.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900