12 lines
		
	
	
	
		
			164 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			164 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| #
 | |
| # Nukes a branch locally and on the origin remote.
 | |
| #
 | |
| # $1 - Branch name.
 | |
| #
 | |
| # Examples
 | |
| #
 | |
| #   git nuke add-git-nuke
 | |
| 
 | |
| git branch -D $1
 | |
| git push origin :$1
 |