[git-users] Preserve a directory on the server
Hello, There's a directory in the production version of my app on the server 'public/attachments' which contains images that users upload. I've removed this directory from my local git repos, and added public/ attachments to my .gitignore file. However, when I do a git push to the server repos and deploy, this directory is removed forcing me to manually restore it. Is there something I'm missing to make git ignore/preserve this directory on the server production app? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~--~~~~--~~--~--~---
[git-users] Preserve a directory on the server
Hello, There's a directory in the production version of my app on the server 'public/attachments' which contains images that users upload. I've removed this directory from my local git repos, and added public/ attachments to my .gitignore file. However, when I do a git push to the server repos and deploy, this directory is removed forcing me to manually restore it. Is there something I'm missing to make git ignore/preserve this directory on the server production app? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~--~~~~--~~--~--~---