Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-26-2011, 04:45 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Gitignore not ignoring server side created dirs


I've got a Web app on a server, that may dynamically create some directories inside "/public/sites/medias" from the inside of the app.
I've got no problem so far to tell Git to ignore everything _actually_ in "public/sites/medias", but the problem is when users begin to create new dirs and add files like these :


I can't understand why the hell does Git always want to track them and then say "/public/sites/medias/images/4/my_pic.jpg needs update" when I pull a new version of the app.

Here is my actual .gitignore :


How can I tell Git to _never_ever_ look inside "/public/sites" no more and totally forget about what could ever happen inside this directory ?

Any help highly appreciated, thanks

Last edited by guy_lux; 01-26-2011 at 04:49 AM.
Old 01-26-2011, 08:04 PM   #2
Registered: Oct 2010
Location: México
Distribution: Centos
Posts: 72

Rep: Reputation: 4
¿when you clone your repo, this directory is created?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get access to client-side network from server-side network through openvpn nass Linux - Server 1 11-02-2009 05:41 AM
.gitignore missing jcfolke Linux - Newbie 0 07-23-2006 12:33 PM
How to set permissions for newly created dirs? z-vet Linux - General 2 12-04-2004 09:06 AM
xfs server ignoring font paths XPediTioN Mandriva 1 03-07-2004 06:11 PM
help with client side NFS-firewall setup and server side NIS-firewall setup niverson Linux - Networking 3 02-02-2004 09:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration