• so yea, I'm trying to establish a new repo in git, and clone the ssh, however, when pasting the ssh provided and hitting enter, the damn thing reads fatal. as simple as git seems, I'm having a difficult time.

    the following words were/are in shell.

    mkdir ruby exercises
    cd ruby
    git init
    head over to git, and create a repo named ruby exercises, and from there I clicked ssh copy to clipboard. take a walk back to the terminal, and copy.

  • hmm, not sure this is it, but did you set up you keys here?

  • ssh key established

  • This is an error that results from a mistyped path. But I have the same problem with github. Sometimes cloning works better if you try

    git clone

  • basically using https for ssh?

  • Yep, I know it sounds strange but if it is not your repo or you don't have your ssh set up correctly it might deny you. Hopefully that helps. Let me know if it doesn't, I have lots of experience with git and if I can recreate the problem I can help you solve it.

  • `git add` isn't the command you want. that's the command for adding files to the repo to you can commit them. if you're cloning from an existing repo to a local one (checking it out, basically), use `git clone`.

    also, when you create a repo on github, it gives you instructions on how to clone from and push to the repo if you already have a local repo.

  • git's a beast.

    yea, I followed the instructions, but determining the difference for https, or ssh is what I'm having trouble with. generate user key, and one should be able to use ssh, which I did, but the shit still doesn't work, so I'm switching back to https, but it's water under the bridge. i got frustrated and had to walk away...

  • There are also some clients that make managing git repo's a little easier. I use Tower.

  • ill read up on tower. would rather know the ins n outs of git like the back of my hand

  • @alwaysrepresenting I recommend tower. It is good. I have also used Atlassian SourceTree. Didn't like that as much. My favorite is the GitHub app.

  • Yes, I think I remember assessing the GitHub app and deciding that if I managed/contributed to a ton of github repositories than this solution really made sense.

    For me, it's git repos but they are hosted via unfuddle. Tower works great for me.

  • yo.
    thanks for reaching out. im to know git before github, right?

  • I would say: Learn the basics of "GIT" then move on to a GUI App (either tower or github's app)

    When I learned, I learned the basics of what GIT is, how it works, and all of the terminology involved: Branching, commits, check-ins, merging, cherry picking, etc. Initially it helped to understand on a basic level how to do some things like initiate a new repository via the command line and make a commit. I'll have to admit though my work has me touching so many things and switching gears, a graphical tool is just faster and easier for me to manage various code repos.

    If the repositories you're working with are hosted on I'd say it's no brainer to download the GitHub Application and check that out.

  • @emergencyofstate @alwaysrepresenting Same for me. +1 to everything you said. I think the Github apps UI is easier to grasp compared to Tower and SourceTree, but it is only for GitHub where as other apps can push to github, beanstalk, etc....