Hi,

Yesterday I implemented a tiny tool [1] that allows you to write git-like
commands that improve your git workflow by doing repetitive git commands for
you.
It's generic enough to be used on any git based project. I just used it to
implement buildr's git sync command [2] and svn configuration commands.

To use buildr-git on a daily basis, just register an alias like

             git config alias.apache '!'"ruby
$PWD/doc/scripts/buildr-git.rb"

After that you can get help for the registered apache commands:

             git apache help

For committers willing to sync git<->svn

             git apache help setup svn

             git remote add upstream [email protected]:buildr/buildr.git
             git apache update-users
             git apache setup svn --username vborja --apache-git upstream
             git apache sync


[1] http://github.com/buildr/buildr/blob/master/doc/scripts/gitflow.rb
[2] http://github.com/buildr/buildr/blob/master/doc/scripts/buildr-git.rb

-- 
vic

Quaerendo invenietis.

Reply via email to