|  |  | @@ -81,7 +81,7 @@ var getPullCmd = (repo, branch) => { | 
		
	
		
			
			|  |  |  | // console.log(useGitPull) | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | if(branch) { | 
		
	
		
			
			|  |  |  | var pullCmd = [ gitInstallDir | 
		
	
		
			
			|  |  |  | var pullCmd = [ gitbash | 
		
	
		
			
			|  |  |  | , ['-c', 'for i in `git remote`; do git pull $i ' + branch + '; done;'] | 
		
	
		
			
			|  |  |  | , { cwd: instanceroot + '/' + repo, title : 'pull all origins for ' + repo }] | 
		
	
		
			
			|  |  |  | } | 
		
	
	
		
			
			|  |  | @@ -1004,11 +1004,11 @@ var op = { | 
		
	
		
			
			|  |  |  | return nodeShellExec('git', ['checkout', branch || checkoutMap[runconfig.NODE_ENV] || runconfig.NODE_ENV], { | 
		
	
		
			
			|  |  |  | // return nodeShellExec('git', ['switch', '-m', '-C', checkoutMap[runconfig.NODE_ENV] || runconfig.NODE_ENV], { | 
		
	
		
			
			|  |  |  | // inherit : true, shell: true, | 
		
	
		
			
			|  |  |  | cwd: repoinstanceroot + '/' + repo | 
		
	
		
			
			|  |  |  | cwd: instanceroot + '/' + repo | 
		
	
		
			
			|  |  |  | // , stdio : ignore // Use when we want to silcence output completely. | 
		
	
		
			
			|  |  |  | , runas: processedArgs.runas | 
		
	
		
			
			|  |  |  | , title: `git checkout ${branch || checkoutMap[runconfig.NODE_ENV] || runconfig.NODE_ENV} for ${repo}` | 
		
	
		
			
			|  |  |  | }).catch((e) => { console.error(e); return { error: true, message: repo } }) | 
		
	
		
			
			|  |  |  | }).then(()=>{ console.log( `SUCCESS : git checkout ${branch || checkoutMap[runconfig.NODE_ENV] || runconfig.NODE_ENV} for ${repo}` ) }).catch((e) => { console.error(e); return { error: true, message: repo } }) | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | if (runconfig.NODE_ENV === 'development') performCheckout = () => { return Promise.resolve(true) } | 
		
	
		
			
			|  |  |  | 
 |