I have been using subversion for a number of years and it wasn’t until I had seen and sampled the simplicity and power of git that I decided once and for all to bite the bullet and migrate all my subversion repositories to git.
Wednesday, March 18, 2015
Return back to the local machine and add reference to the new ‘remote’ repository from the base directory of the project.
$ git remote add remote ssh://git at git.petermac.com/usr/local/share/gitrepos/myprojectname].git
Here the ‘git remote add’ part says add a reference to a remote repository. The second ‘remote’ is the friendly name I want to use when referring to the repository on the git server
Tuesday, February 10, 2015
Given a user with sudo (but not root) access on a remote box, the following deploy.rb script will perform a capistrano deploy of a ruby application:
Assumptions:
You’re using ‘git’. Although svn can be used, the script targets a git setup.
Thursday, January 29, 2015
Saturday, June 1, 2013
Monday, June 28, 2010