7 lines
		
	
	
		
			465 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			465 B
		
	
	
	
		
			INI
		
	
	
	
	
	
| [alias]
 | |
| 	lg = log --oneline --decorate --date=relative --graph
 | |
| 	remove-gone-branches = "!git branch -vv | sed 's/^\\*//' | grep ': gone]' | awk '{print $1}' | (xargs git branch --delete 2>/dev/null || echo 'No branches to delete')"
 | |
| 	root = rev-parse --show-toplevel
 | |
| 	word-diff = diff --word-diff
 | |
| 	stash-remote = !git checkout -b stash/`date +"%Y-%m-%dT%H-%M-%S"` && git add -A && git commit -m 'Remote stash' && git push -u origin `git rev-parse --abbrev-ref HEAD`
 |