7 # Repo = Git.open File.expand_path('../')
9 # Old = Repo.object(ARGV.shift) # aa453216d1b3e49e7f6f98441fa56946ddcd6a20
10 # New = Repo.object ARGV.shift # 68f7abf4e6f922807889f52bc043ecd31b79f814
11 # Refname = ARGV.shift # refs/heads/master
13 # Branch = Repo.branches[Refname.split('/')[2..-1].join('/')] # Not sure if I trust this completely...
15 puts pwd
# wtf is going on
16 system
'pwd' # wtf is going on
18 system
'cd ../ ; git-checkout -f master' # Should force the push to actually go live
20 puts
'Re-deploying blog...'