mirror of
				https://code.forgejo.org/actions/checkout.git
				synced 2025-11-04 06:39:11 +00:00 
			
		
		
		
	Merge 771ed93a21 into 8edcb1bdb4
				
					
				
			This commit is contained in:
		
						commit
						7db2442e8e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -482,7 +482,7 @@ class GitCommandManager {
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  async tryReset(): Promise<boolean> {
 | 
					  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
 | 
					    return output.exitCode === 0
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue