mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-10-31 20:41:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			268 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			268 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/zsh
 | |
| suckdiff &&
 | |
| git reset --hard origin/master &&
 | |
| for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | cut -d'/' -f3); do
 | |
| 	if [ "$branch" != "master" ];then
 | |
| 		echo $branch
 | |
| 		git merge $branch -m $branch
 | |
| 	fi
 | |
| done
 | |
| make && sudo make clean install
 | |
| 
 |