Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
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).
@shugzaurus
No. I havent read book recommended by @[email protected], but github cheatsheet $ git clone [url] says all branches https://training.github.com/downloads/github-git-cheat-sheet
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.