mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| ###########################################################################
 | |
| #    remove_git_confict_files.sh
 | |
| #    ---------------------
 | |
| #    Date                 : April 2012
 | |
| #    Copyright            : (C) 2012 by Tim Sutton
 | |
| #    Email                : tim at kartoza dot com
 | |
| ###########################################################################
 | |
| #                                                                         #
 | |
| #   This program is free software; you can redistribute it and/or modify  #
 | |
| #   it under the terms of the GNU General Public License as published by  #
 | |
| #   the Free Software Foundation; either version 2 of the License, or     #
 | |
| #   (at your option) any later version.                                   #
 | |
| #                                                                         #
 | |
| ###########################################################################
 | |
| 
 | |
| #
 | |
| # A simple script to get rid of QGIS related temporary files left in 
 | |
| # your QGIS source folder by git
 | |
| 
 | |
| # Tim Sutton, May 2008
 | |
| find . \
 | |
|   \( \
 | |
|        -name "*.orig" \
 | |
|     -o -name "*.prepare" \
 | |
|     -o -name "*.sortinc" \
 | |
|     -o -name "*.unify_includes_modified" \
 | |
|     -o -name "*.nocopyright" \
 | |
|     -o -name "astyle*.diff" \
 | |
|     -o -name "sha-*.diff" \
 | |
|     -o -name "*.astyle" \
 | |
|     -o -name "sha*.diff" \
 | |
|     -o -name "*.bom" \
 | |
|     -o -name "*.bak" \
 | |
|     -o -name "*.rej" \
 | |
|     -o -name "*.orig" \
 | |
|     -o -name "*.new" \
 | |
|     -o -name "*.temp" \
 | |
|     -o -name "*~" \
 | |
|   \) \
 | |
|   -print \
 | |
|   -delete
 |