Shop OBEX P1 Docs P2 Docs Learn Events
How do I download a propeller project from the new Git repo? — Parallax Forums

How do I download a propeller project from the new Git repo?

I would like to know if there is a way to download an entire project at once from Parallax's GitHub. For example, Mother of all LED sequencers. Can I pull the files of just that object to my PC using Git?

Comments

  • Assuming you are looking to avoid the command line, I have a hunch that if you install the GitHub desktop app, you'll be able to grab the subfolder and it's contents.
  • Oh, I am craving to learn the command line and I prefer it over GUI tools. I read through some docs and I think that forking the propeller repo to my Github account, then cloning it to my pc, then fetching (?) updates whenever I load it would be the best way.
  • I'm not liking the new OBEX Github.
    In the mean time, go to :smile:
    http://obex.parallax.com/object/399
    to get the zip file.
  • If you don't want/need to contribute, you can clone a repository directly without forking it first.

    Also, if I had to recommend a GUI tool, TortoiseGit is great, in that it provides almost every Git command right in your context menu. The diff viewer is also excellent.
  • There is no need to create a fork unless you are planning on modifying things. If you just want to use the contents you simply clone it. You cannot clone a subdirectory of a repository, but GitHub does let you download individual files.
    git clone https://github.com/parallaxinc/propeller.git
    

    Once you have cloned a repository you can retrieve updates by fetching (retrieve updates without integrating them into your working tree) or pulling (retrieve updates and integrate them into your working tree). If proper Git workflows are followed you almost always just use pull.

    https://learngitbranching.js.org/ is a good interactive tutorial for learning the basics of Git.
  • @apcountryman
    Thank you for your input. I will definitely follow your link and dig into git deeper!
  • If you just go to the main github page: https://github.com/parallaxinc/propeller
    There is a Clone or Download button (green) and you can download the whole thing in a zip. The zip file is only 111MB, so it should only take a few seconds.
    Then you can browse that for the files you want.
Sign In or Register to comment.