mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			182 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			182 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
set -e
 | 
						|
set -x
 | 
						|
 | 
						|
request_id="$1"
 | 
						|
git fetch origin "pull/$request_id/head"
 | 
						|
git checkout origin/master -b "review-${request_id}"
 | 
						|
git reset --hard FETCH_HEAD
 | 
						|
git pull --rebase
 | 
						|
 |