Tag: svn

  • Converting a Subversion SVN Repository to Git

    Converting a Subversion SVN Repository to Git

    I’ve used DreamHost’s SVN hosting with past projects I’ve done. It wasn’t till recently that I had time to migrate them over to Git. Searching the net, I found JohnAlbin’s steps on how to do so efficiently (written in August 2010). ((If you have Ruby, you may try svn2git tool, which will skip steps 1-6.))…

  • Bash Completion, Along with SVN and Git Tab Completion

    Time is precious. I installed these utilities to save some of it: bash-completion svn-completion git-completion I install bash-completion via MacPorts on my Macs. sudo port install bash-completion I then saved this svn-completion script to locally, and did a sudo cp: sudo cp bash_completion /opt/local/etc/bash_completion.d/svn-completion.sh Note: “bash_completion” is the file linked on “svn-completion script“. I hope…

  • Git Info – Almost Like “svn info”

    I have been trying to find something like svn info but for Git. Luckily, I stumbled upon Duane Johnson’s script. Here’s git-info.sh: [gist id=3937631 file=git-info.sh bump=1] I made an alias in my .profile to make it a bit more accessible: [gist id=3937631 file=.profile]

  • Delete .SVN Directories

    Ever accidentally do an svn checkout instead of an export? Here’s a command-line snippet to take care of those hidden .SVN directories: rm -rf `find . -type d -name .svn` Warning: Take great care when using “rm -rf” always.