Main

SVN GIT

GIT

http://hoth.entp.com/output/git_for_designers.html

http://stackoverflow.com/questions/6286571/are-git-forks-actually-git-clones

http://www.eqqon.com/index.php/Collaborative_Github_Workflow

Git and GitHub pdf


SVN

Also see this section for textmate specific SVN: Textmate SVN

SVN Book pdf

Fixing SVN lock and permission errors

sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 2775 {} \;
sudo chown -R joeb:www-data .

Note If this is being run on a drupal installation you should change the -type f -exec line to ...

sudo find . -type f -exec chmod g+w {} \;

If experiencing problems while running svn cleanup and locked files you can run this to ensure that all of the .svn folders are not owned by root.

sudo find . -name ".svn" -exec chown -R joeb:www-data {} \;

Remove all .svn folders in a directory tree

found here http://snippets.dzone.com/posts/show/2486

You did a checkout when you really wanted to do an export.
Now there are tons of .svn folders in your project, and you need them to go away.
Shell scripting to the rescue.

// Credit: Zed Shaw, at the Mongrel mailing list.

find . -name ".svn" -exec rm -rf {} \;

or if you want to ensure that you are only deleting directories named ".svn" then:

find . -name ".svn" -type d -exec rm -rf {} \;

PmWiki

pmwiki.org

Blix theme adapted by David Gilbert, powered by PmWiki