mirror of
				https://github.com/clearml/clearml
				synced 2025-06-26 18:16:07 +00:00 
			
		
		
		
	Fix git remote repository detection when remote is not "origin"
This commit is contained in:
		
							parent
							
								
									dc1c9b5844
								
							
						
					
					
						commit
						e319770831
					
				| @ -227,7 +227,7 @@ class GitDetector(Detector): | ||||
| 
 | ||||
|     def _get_commands(self): | ||||
|         return self.Commands( | ||||
|             url=["git", "ls-remote", "--get-url", "origin"], | ||||
|             url=["git", "ls-remote", "--get-url"], | ||||
|             branch=["git", "rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"], | ||||
|             commit=["git", "rev-parse", "HEAD"], | ||||
|             root=["git", "rev-parse", "--show-toplevel"], | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 allegroai
						allegroai