Howto (prop)set SVN:ignore from the command-line !?

Posted: January 13th, 2009 | Author: Mihai Bojin | Filed under: General, PHP, Troubleshooting, Web | No Comments »

If you’re a developer you’ve probably worked with SVN.

And if you’ve worked with SVN you’ve probably had the problem that it’s commiting and updating more than you want.

So here’s a quick way to ignore the files you dislike:

  • If you want to ignore just a file, for example "config.php" from the "config" directory:

svn propset svn:ignore "config.php" /path/to/config

  • If you want to ignore all the files in a directory, for example the "cache" directory:

svn propset svn:ignore "*" /path/to/cache

(quick warning here ! "*" is different from "*.*"; the latter implies that you have files or directories with extensions and it will not match a file/dir with no extension)

  • If you’re an Apple Fanboy like me than this one’s for you; MacOS has the annoying habbit of creating .DS_Store files in every directory, including those under SVN

edit "~/.subversion/config" with your favorite editor (vi, nano or even TextEdit)

search for the line that contains "global-ignores" and add ".DS_Store" at the end of the row

save it and you’re done; no more .DS_Store junk in your repository !

 

I hope this quick guide helps you. I’ve written this because most so called coders out there use tools like TortoiseSVN and have no clue how to use SVN from the command line.

If you have other usefull SVN command-line tips, please share them in the comments !


Non-profit’s guide to Search Engine Marketing

Posted: December 2nd, 2008 | Author: Mihai Bojin | Filed under: PPC, SEM, SEO | No Comments »

Seobook.com does it again… they launched yet another good SEO guide, although they call it "… guide to SEM".

You can read both these guides as you’ll probably learn something from them.

UPDATE: I forgot to mention that this guide is aimed at non-profits.

I haven’t had time to read the guide yet, but I glanced over it and the information seems solid and well structured, nothing you wouldn’t expect from Aaron. They reference a third party in regards to PPC tips.

I will update you after I read the guide, but I’d appreciate any comments from people who read the guide(s). Thanks !


Clicky Web Analytics