jindam_vani,
@jindam_vani@lemmy.world avatar

@Shugzaurus

When you clone a repo only one branch is pulled from the remote, main by default

No. I havent read book recommended by @senkora, but github cheatsheet $ git clone [url] says all branches training.github.com/…/github-git-cheat-sheet

Shugzaurus,

When you clone a repo only one branch is pulled from the remote, main by default so I don’t understand your question. Cloning and forking are two different things. Clone is basically pulling a git project to your local computer where forking will create a copy of a repo (with all the branches) to another repo).

jindam_vani,
@jindam_vani@lemmy.world avatar

@shugzaurus

When you clone a repo only one branch is pulled from the remote, main by default

No. I havent read book recommended by @senkora, but github cheatsheet $ git clone [url] says all branches training.github.com/…/github-git-cheat-sheet

boothin,

It downloads the branches meaning that it will download the list of the branches that exist, but only one branch is "checked out" at a time, which is where the files are actually downloaded to your pc.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines