You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							363 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							19 lines
						
					
					
						
							363 B
						
					
					
				
								#!/bin/sh
							 | 
						|
								
							 | 
						|
								# Before doing this, you can try:
							 | 
						|
								#   git diff
							 | 
						|
								
							 | 
						|
								if [ ! -z "$1" ]; then
							 | 
						|
								  if [ -z "$2" ]; then
							 | 
						|
								    echo "git add -A"
							 | 
						|
								    git add -A
							 | 
						|
								    echo "git commit -m \"$1\""
							 | 
						|
								    git commit -m "$1"
							 | 
						|
								    echo "git push"
							 | 
						|
								    git push
							 | 
						|
								  else
							 | 
						|
								    echo "Too many arguments. Specify only a message, in quotes."
							 | 
						|
								  fi
							 | 
						|
								else
							 | 
						|
								  echo "You must specify a message in quotes."
							 | 
						|
								fi
							 | 
						|
								
							 |