This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Mar 05 10:43:38 -0800 2008 | |
| |
MIT-LICENSE | Mon Mar 03 11:43:48 -0800 2008 | |
| |
README | Mon Mar 31 11:04:51 -0700 2008 | |
| |
Rakefile | Thu Mar 27 09:52:06 -0700 2008 | |
| |
extended_rubygit_gem/ | Mon Mar 03 11:53:09 -0800 2008 | |
| |
init.rb | Sun Mar 30 18:29:18 -0700 2008 | |
| |
install.rb | Mon Mar 03 11:43:48 -0800 2008 | |
| |
lib/ | Mon Mar 31 11:04:51 -0700 2008 | |
| |
tasks/ | Thu Mar 27 09:52:06 -0700 2008 | |
| |
test/ | Thu Mar 27 09:52:06 -0700 2008 | |
| |
uninstall.rb | Mon Mar 03 11:43:48 -0800 2008 |
README
GittyMigrations
===============
Requires a extended 'rubygit' gem that has stashes
cd vendor/plugins/gitty_migrations/extended_rubygit_gem
sudo gem install git-1.0.5
Example
=======
class MyMigration < ActiveRecord::Migration
# Will rollback to the commit that this file was checked in on
use_git
# Will rollback to a certain commit that you define
# use_git :revision => "2024589c214b41c8b29bcd6444c2d49807760a5a"
def self.up
puts "This is a test migration"
end
def self.down
end
end
TODO
===============
√ Check for the revision where the migration was checked in or last edited and
automatically use that revision if no revision has been specified
* If there are no stashes then clear the stash when we are done with the migrations
Copyright (c) 2008 Eric Goodwin, released under the MIT license






