Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (14 sloc) 276 Bytes
#!/usr/bin/env ruby
require "rubygems"
require "colored"
repos = ARGV[0]
if repos
puts `git push origin :heads/#{repos}`
else
puts "* Usage:"
puts ""
puts " git-delete-remote-branch branch-name"
puts ""
puts "You must enter a repos to delete".red
puts ""
end