Colorize error messages
This commit is contained in:
		
							parent
							
								
									24b44903b5
								
							
						
					
					
						commit
						02a239e1d8
					
				
							
								
								
									
										4
									
								
								config
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								config
									
									
									
									
									
								
							| @ -9,7 +9,7 @@ | ||||
| 		awk \"{print \\$1}\" | \ | ||||
| 		sed -e ':a' -e 'N' -e '$!ba' -e 's/\\n/../g') | \ | ||||
| 		git apply - 2> /dev/null || \ | ||||
| 			echo \"error: last commit was not amended\" | ||||
| 			echo \"\\e[31merror:\\e[39m last commit was not amended\" | ||||
| 	fixup = commit --fixup | ||||
| 	squash = commit --squash | ||||
| 	prepare = rebase -i --fork-point | ||||
| @ -35,7 +35,7 @@ | ||||
| 
 | ||||
| 	save = commit -m "temp!" | ||||
| 	load = !sh -c '[ \"temp!\" = \"`git show --format=%s --no-patch`\" ] && \ | ||||
| 		git reset --mixed HEAD~ || echo \"error: commit subject is not: temp!\"' | ||||
| 		git reset --mixed HEAD~ || echo \"\\e[31merror:\\e[39m commit subject is not: temp!\"' | ||||
| 
 | ||||
| [core] | ||||
| 	editor = vim | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user