The template appears to be <alias> <url> <fetch|push>
.
The .git/config
file has sections for each remote too. Example:[remote "github"] url = git@github.com:biocatchltd/volt.git fetch = +refs/heads/:refs/remotes/github/
Would be nice to report which remote the checked out branch actually tracks.
Different question about warnings: I'm getting (infrequently) this warning, followed by my script hanging2021-09-14 14:23:29,809 - clearml.Task - INFO - Waiting for repository detection and full package requirement analysis 2021-09-14 14:28:29,809 - clearml.Task - INFO - Repository and package analysis timed out (300.0 sec), giving up 2021-09-14 14:28:29,878 - clearml.Task - WARNING - Failed auto-detecting task repository: no info for [PosixPath('/datadrive2/radu/experiments/runners/all'), PosixPath('/datadrive2/radu/my_repo/my_repo/scripts')] (exception SystemExit() not a BaseException subclass)
Related question is: does clearml expect the script to be run from the root of the repo? What would be the correct way of letting it know of where the repo root actually lies?