move bin to .local/bin
This commit is contained in:
		
							
								
								
									
										15
									
								
								dot_local/bin/executable_xxtip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								dot_local/bin/executable_xxtip
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
current_branch="$(git branch --show-current)"
 | 
			
		||||
 | 
			
		||||
trap back_to_current_branch 1 2 3 6 15
 | 
			
		||||
back_to_current_branch() {
 | 
			
		||||
	git checkout "$current_branch"
 | 
			
		||||
	exit 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
git checkout master
 | 
			
		||||
git pull --rebase upstream master
 | 
			
		||||
git push -f
 | 
			
		||||
git checkout "$current_branch"
 | 
			
		||||
git rebase master
 | 
			
		||||
		Reference in New Issue
	
	Block a user