Automatic commit of config from 2025-03-15
This commit is contained in:
		
							parent
							
								
									40f288741e
								
							
						
					
					
						commit
						2ea403f6d2
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								autocommit.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								autocommit.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,10 @@ | ||||||
|  | #!/bin/bash | ||||||
|  | 
 | ||||||
|  | #cd $HOME/printer_data/config | ||||||
|  | if [ -n "$(git status --porcelain)" ]; then | ||||||
|  | 	git add . | ||||||
|  | 	git commit -m "Automatic commit of config from $(date -I)" | ||||||
|  | 	git push | ||||||
|  | else | ||||||
|  | 	Nothing new to save to git | ||||||
|  | fi | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue