Log message #579662

# At Username Text
# Mar 9th 2009, 16:24 alkemann like i have on with just "database.php" in config folder and one with * in plugins etc
# Mar 9th 2009, 16:24 AD7six there you go
# Mar 9th 2009, 16:24 jperras AD7six: you can have many nested ignores
# Mar 9th 2009, 16:23 alkemann works for me with them placed in folders i need
# Mar 9th 2009, 16:23 AD7six or maybe the one at the top is all you need and I stopped looking thereafter :P
# Mar 9th 2009, 16:23 AD7six alkemann: well, only the one at the top counts afaik
# Mar 9th 2009, 16:22 alkemann AD7six: so multiple .gitignore is not good?
# Mar 9th 2009, 16:21 alkemann yea, like i said, just baked in the admin view for the bake process to have easy access to rebake
# Mar 9th 2009, 16:20 jperras that's kind of like a sledge hammer
# Mar 9th 2009, 16:20 alkemann heh kinda basic solution : http://bin.cakephp.org/view/1653630027
# Mar 9th 2009, 16:19 _nate_ yup
# Mar 9th 2009, 16:19 gwoo is a good place to start
# Mar 9th 2009, 16:19 gwoo list and clear
# Mar 9th 2009, 16:19 jperras _nate_: agreed
# Mar 9th 2009, 16:19 alkemann in console?
# Mar 9th 2009, 16:19 _nate_ I think an overall cache management console would be better
# Mar 9th 2009, 16:18 AD7six so call cake clear from wherever.
# Mar 9th 2009, 16:18 AD7six alkemann: alt I use that http://trac.assembla.com/mi/browser/branches/base/vendors/shells/clear.php probably similar to what you've already got
# Mar 9th 2009, 16:17 AD7six as with svn ignoring something that's in the repo doesn't 'work'
# Mar 9th 2009, 16:17 alkemann with empty files?
# Mar 9th 2009, 16:17 AD7six alkemann: you commit the structure and the add tmp/* to the ignore file
# Mar 9th 2009, 16:17 alkemann it could. but having it include the tmp folders but not files is an advantage too
# Mar 9th 2009, 16:16 AD7six alkemann: you should only have one .gitignore file
# Mar 9th 2009, 16:16 ADmad alkemann: shouldnt your gitignore be outside tmp ?
# Mar 9th 2009, 16:15 alkemann my problem with the tmp folder is that i have a "clear cache" button baked in admin view. it deletes the folder and rebuilds the folders.. kinda also takes the .gitignore heh
# Mar 9th 2009, 16:14 AD7six not quite so critical, but still.
# Mar 9th 2009, 16:14 alkemann wouldnt kill anyone to have them logged though
# Mar 9th 2009, 16:14 AD7six jperras: oh cool... I've added some tmp folders that were created by putting logging code in the editor console - and the tmp dir being created from the working dir at the time..
# Mar 9th 2009, 16:13 jperras alkemann: favourite because it solved my problem of having mistakenly committed my tmp folder due to a misconfigured .gitignore
# Mar 9th 2009, 16:13 jperras but awesome when you accidentally commit say a temp file, or core.php, or database.php
# Mar 9th 2009, 16:12 alkemann jperras: why would u need that enough for it to become favorite ? :P
# Mar 9th 2009, 16:12 jperras dangerous because if you have pushed some code remotely, then it'll screw with other peoples repos
# Mar 9th 2009, 16:12 AD7six ACTION heads to google..
# Mar 9th 2009, 16:12 alkemann also temporary branches to work on several minor things paralell is nice
# Mar 9th 2009, 16:12 jperras removes a file completely from your history
# Mar 9th 2009, 16:11 jperras my favourite (but quite dangerous) command is "git-filter-branch --tree-filter 'rm -f <filename>' HEAD"
# Mar 9th 2009, 16:11 alkemann it was very useful in debugging a bug that came as a result of refactoring. so easy to compare
# Mar 9th 2009, 16:10 alkemann yes i learned that the other day. LOVE it
# Mar 9th 2009, 16:10 AD7six even though I'm still finding my feet
# Mar 9th 2009, 16:10 AD7six git stash is probably my favorite command atm
# Mar 9th 2009, 16:09 AD7six in (hopefully not much) time, it should all be second nature and easy