Skip to content

Instantly share code, notes, and snippets.

@esbie
Created June 29, 2011 01:04

Revisions

  1. esbie created this gist Jun 29, 2011.
    9 changes: 9 additions & 0 deletions oblit
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/usr/bin/env ruby

    if ARGV.size != 1
    puts "what branch?"
    exit 1
    end

    `git branch -D #{ARGV[0]}`
    `git push origin :#{ARGV[0]}`