Git Product home page Git Product logo

Comments (2)

FaithfulDev avatar FaithfulDev commented on June 1, 2024

I believe the *-sign is indicating what branch you have checked out and not that it's a remote repo. That said, remote repos are usually indicated by a stroked-outline. In fact that is what it appears after you run "git clone". For example, this is how it looks after playing with it:

image

You can see the remote repo at the right side and the checked out branch "foo" with the *-sign.

That said, initially the remove repo has a solid outline and thus would appear as local. I would say that is a bug.

image

This however is just like Remote-Level-1, where you also start out with only a remote repo, just like in Remote-Level-5.

from learngitbranching.

pcottle avatar pcottle commented on June 1, 2024

Thanks @FaithfulDev for explaining here (and on the other issue)!

So in the starting moment on the level, this is actually your local repository that exists, so it shouldn't have the outline. You run git clone to create the remote:
Screenshot 2024-03-21 at 4 52 49 PM

Now there's been some very valid feedback that git clone only really works if a remote repo already exists, so creating a remote repo by running clone doesn't really make sense. I totally agree with that, it just would be really hard to rework all of the lessons with that update.

I'd also say that git clone is the more common command to run before you start interacting with remote repositories, since most people are cloning an existing repo. So it makes sense spiritually why thats the command you run during these lessons

Hope that explains things

from learngitbranching.

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.