I am having a application in openshift in which there is a option by which a user can upload an image. All the images uploaded by users is stored in location "/images/" All the thing is going well.
BUT when I modify/add file in my local Git Repository,
$ git commit -a -m "Modify local repo" $ git push
After pushing, all the file uploaded by user get deleted.
I though it was due to the file uploaded by user is not in the local repository when i commit and push git delete the files for the very same reason.
I tried $ git pull before commit and push but it say Already up-to-date.
How can i preserve the user uploaded files or how to syn it to local repository.
Aucun commentaire:
Enregistrer un commentaire