Main/Master Branch Pickup
See original GitHub issueWhen running a ClearML task on a GitHub repo with a main
default branch vice a master
default branch, the checkout will fail, unless the main
branch or a commit or tag is specified.
clearml-task --project asdf --name asdf --repo https://github.com/asdf/asdf.git --script asdf/asdf.py --queue default
results in:
Repository cloning failed: Command '['git', 'checkout', 'origin/master', '--force']' returned non-zero exit status 1.
unless --branch main
is added explicitly. Just thought it might be good to fix since main
is the new master
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Tree Branch Pickup - Maine Township
The Highway Department provides free tree branch pickup service for residents of unincorporated Maine Township only. We ask your cooperation in following ...
Read more >Brush & Leaf Pickup - Township of Bedminster
Brush collection will begin on the Fourth Monday in April. Residents will be restricted to 1 (one) pile of brush per property –...
Read more >Chapter 21 Git Version Control | Bioconductor Packages
If the repository is already cloned, the work flow is to make sure that you are on the 'master' branch, pull any changes,...
Read more >Run pipeline from protected branch - Help
Hey there :wave: I am creating a pipeline for a public repo that I'd like to trigger pull requests from 3rd party forks....
Read more >Why You Should Use the git-flow Toolset in Your Git ...
In the Git-Flow model, we are using two base branches to record the project's history. The main/master branch. ✓Purpose: A main/master branch stores...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @samsipe,
We’ve just released ClearML Agent v1.2.0rc2 that should take care of this issue - feel free to try it out and let us know if it works 🙂
I think that’s helpful! And it’s nut just GitHub, it’s all of Git since
Git 2.28.0
I think. So I would certainly update that eventually for anyone that won’t dig that deep into the docs.I might update your example with
--branch master
and your note from above too for now too so it’s clear to folks that land there as well.Also, since I have you, thanks for building ClearML. It has been very helpful for me so far in a project I am work on!
Feel free to close this issue.