Add pre-commit to yadm
This commit is contained in:
		
							parent
							
								
									0b69eff54b
								
							
						
					
					
						commit
						b8b0af0881
					
				
					 3 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								.bin/pre-commit-yadm
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								.bin/pre-commit-yadm
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
export GIT_DIR="$HOME/.local/share/yadm/repo.git"
 | 
			
		||||
pre-commit $@ -c .config/pre-commit-config.yaml
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue