mirror of
				https://github.com/frebib/dotfiles.git
				synced 2024-06-14 12:57:23 +00:00 
			
		
		
		
	git: Fetch GitHub pull request refs by default
I can't find a way to make this a wildcard that applies to all remotes, so this adds the two most common remotes that I'm likely to use. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
		@@ -23,6 +23,10 @@
 | 
				
			|||||||
	ff = only
 | 
						ff = only
 | 
				
			||||||
[rebase]
 | 
					[rebase]
 | 
				
			||||||
	autoStash = true
 | 
						autoStash = true
 | 
				
			||||||
 | 
					[remote "origin"]
 | 
				
			||||||
 | 
						fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
 | 
				
			||||||
 | 
					[remote "upstream"]
 | 
				
			||||||
 | 
						fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*
 | 
				
			||||||
[log]
 | 
					[log]
 | 
				
			||||||
	date = iso8601-local
 | 
						date = iso8601-local
 | 
				
			||||||
[format]
 | 
					[format]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user