9 lines
		
	
	
		
			169 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			169 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# Moves the git project's root to another folder
 | 
						|
 | 
						|
git filter-branch \
 | 
						|
    --subdirectory-filter "$@" \
 | 
						|
    --tag-name-filter cat \
 | 
						|
    --prune-empty -- --all
 |