Added the gswitch
This commit is contained in:
		
							
								
								
									
										6
									
								
								.local/bin/gswitch
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								.local/bin/gswitch
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
BRANCH=$1
 | 
			
		||||
git checkout -b "$BRANCH"
 | 
			
		||||
git checkout "$BRANCH"
 | 
			
		||||
git branch --set-upstream-to=origin/"$BRANCH" "$BRANCH"
 | 
			
		||||
git pull
 | 
			
		||||
		Reference in New Issue
	
	Block a user