Open timhoffm opened 2 years ago
I like your inverted language suggestion. I think technically git doesn't distinguish between which repository is the main source of truth (any repo can send PRs to another repo) but almost all common usage of Git is done with a main source of truth repository.
But yeah for the purposes of the app maybe we just say "you run this command to get a copy" and go from there as you said 😇
Feel free to throw up a PR to wordsmith this a bit
I like your inverted language suggestion. I think technically git doesn't distinguish between which repository is the main source of truth (any repo can send PRs to another repo) but almost all common usage of Git is done with a main source of truth repository.
There is indeed no main source of truth. However, there is an asymmetry in that the clone has a remote origin
set up, but not the other way round. Since the concept of a remote is essential, I think I'll try a two-step description.
origin
".I can try and wordsmith this in a PR, but it will be a couple of days before I come to that.
I find this description a bit confusing:
https://github.com/pcottle/learnGitBranching/blob/a78e4d1327b8cf5eb6bcc2c0300918fab4f26419/src/levels/remote/clone.js#L71
clone
to get a local copy of that repository."git clone
without specifying a remote url. Maybe it's worth to require passing in some dummy urlgit clone https://example.com/myrepo.git
to make the example more realistic. Or even make a small example repo on github `git clone https://github.com/pcottle/learnGitBranching-clone-example.git)/, so that the call would work in real life (and users can see the repo in GitHub - though the clone operation in the tutorial is still a dummy of course).