mirror of https://github.com/einverne/dotfiles.git
				
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							272 B
						
					
					
				
			
		
		
	
	
							13 lines
						
					
					
						
							272 B
						
					
					
				#!/bin/sh | 
						|
# | 
						|
# A very slightly quicker way to credit an author on the latest commit. | 
						|
# | 
						|
# $1 - The full name of the author. | 
						|
# $2 - The email address of the author. | 
						|
# | 
						|
# Examples | 
						|
# | 
						|
#   git credit "Zach Holman" [email protected] | 
						|
# | 
						|
 | 
						|
git commit --amend --author "$1 <$2>" -C HEAD
 | 
						|
 |