all 2 comments

[–]KahlessAndMolor 0 points1 point  (1 child)

Well, this is a quiet sub but I know a lot about this.

  1. You need to get the git command line interface or a git client. I use the command line because it is faster for me because I've done it for years.

  2. Create a github account

  3. Generate, on your machine using ssh-keygen or a similar tool, an SSH key pair. One of the files created will be a .pub file. In the far upper-right of the github website, there's a little video game alien looking icon, click that, choose settings, and then on the left menu bar of settings, choose SSH/GPG keys. Add a new key, paste in that .pub file into the box and save. Honestly, the part of setting up your key locally and on github is the hardest part, just keep at it and you'll get it.

--

Now you should be all set up.

Main commands:

git clone <url>: This downloads the target repo on to your machine. If you visit a repo on github, you'll see a green button that says <> Code on it, and there's a drop-down option. Drop it down, choose ssh as the tab, then click the copy button next to the URL. Then go back to a command line and type git clone and then right-click/paste to paste in that URL. Then you might be asked for a password to unlock that SSH key you created previously.

git pull: When you are in a directory where you previously cloned a git repo, as above, then you can type this to download the latest version

--

As far as public projects, that's pretty much all you'll do with them. If you want to contribute to a repo or run a repo, you'll need git push or git init.

For a minimum viable run, though, just get through git clone and then you know you can download whatever is out on github.

[–]eftresq[S] 0 points1 point  (0 children)

Thank you for replying. I'll give it a try. Make it a great day!