mirror of
				https://code.forgejo.org/actions/checkout.git
				synced 2025-11-03 22:29:11 +00:00 
			
		
		
		
	Merge 771ed93a21 into ff7abcd0c3
				
					
				
			This commit is contained in:
		
						commit
						56cad37bae
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -482,7 +482,7 @@ class GitCommandManager {
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  async tryReset(): Promise<boolean> {
 | 
			
		||||
    const output = await this.execGit(['reset', '--hard', 'HEAD'], true)
 | 
			
		||||
    const output = await this.execGit(['reset', '--hard', 'HEAD', '--'], true)
 | 
			
		||||
    return output.exitCode === 0
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue