Giter Club home page Giter Club logo

Comments (3)

gfursin avatar gfursin commented on September 16, 2024

Not sure what you mean. I believe we can pass --url to cm pull repo to specify any protocol? I think this should work:

cm pull repo --url=git+ssh://github.com/mlcommons/cm4abtf --checkout=dev

from ck.

arjunsuresh avatar arjunsuresh commented on September 16, 2024

If we are following the github URLs, we get the SSH URL in this form: [email protected]:mlcommons/ck.git which currently does not work with cm pull repo

I think we should support that and when users use "mlcommons@ck" there should be a parameter like --protocol=ssh or simply --ssh to automatically use SSH.

Also checkout is currently broken (won't pull changes on a retry) similar to --branch issue reported here

arjun@arjun-spr:~/CM/repos/mlcommons@cm4abtf$ cm pull repo --url=git+ssh://github.com/mlcommons/cm4abtf --checkout=dev
=======================================================
Alias:    mlcommons@cm4abtf
URL:      git+ssh://github.com/mlcommons/cm4abtf
Checkout: dev

Local path: /home/arjun/CM/repos/mlcommons@cm4abtf

git pull

There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> dev


git checkout dev

Already on 'dev'

CM alias for this repository: mlcommons@cm4abtf

from ck.

gfursin avatar gfursin commented on September 16, 2024

Ok. I see. Sure, it will be useful to add such support.

from ck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.