Download git bash for mac
Then run ssh-add to enter your passphrase for your private key. Be sure download git bash for mac shutoff ssh-agent when you're done using ssh-agent -k. Atlassian has an AMAZING resource for GIT. If you are new to git, I would highly recommend using their GIT GUI, SourceTree. SourceTree should automatically setup GIT on your machine, and manage your repo right from the application. Do you have ssh-agent already installed and in your path? You don't need to configure ssh-agent to run automatically, you can just invoke it manually. Sign up or log in StackExchange. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Stack Overflow works best with JavaScript enabled. You are right, diving into CLI is a great way to learn. I would like to note, that my experience was opposite Though, neither is wrong. I learned git using SourceTree, and since then, I can work seamlessly between CLI and GUI. I also use HUB github. Good luck to you, and I hope you find what you are looking for, going either direction. I was finally able to bring up the webpage at Set up SSH for Git. At the top of the page, you'll see a download git bash for mac green notice box with this message emphasis mine:. This page shows you how to set up and use a single default SSH identity on Windows for a Git repository using GitBash. Log In Sign Up. Join the Stack Overflow Community. Stack Overflow is a community of 7. Join them; it only takes a minute: GitBash on the MAC Ask Question. Simon Davies 2, 7 28 I have updated my answer, I think you may find it helpful. Edit I was finally able to bring up the webpage at Set download git bash for mac SSH for Git. At the top of the page, you'll see a big green notice box with this message emphasis mine: Linux or Mac User? To be clear, download git bash for mac is the link again: If download git bash for mac helps, here is a screenshot of the original notice box too: Old answer still has useful info for running ssh-agent manually though I can't read your link right now because my browser won't open the page, but from your description, it sounds like you're trying to get ssh-agent to start automatically whenever you open up a terminal. Sign up or log in to customize your list. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Download git bash for mac Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us. If it doesn't come back empty, you have it installed. But at this point, you can do everything in SourceTree. No need to do it via command line. By posting your answer, you agree to the privacy policy and terms of service. Stack Overflow Questions Developer Jobs Documentation beta Tags Users. It's good to be proficient with Git from the command line, instead of a GUI. I highly recommend that people read the FREE online Pro Git book to learn how to use Git proficiently and expertly from the command line. In particular, chapters and Well thanks to both of you but i agree with Cupcake as i have tried source tree and found it what if ok but Git has taught me to use the terminal more and be less afraid and more open to the terminal. In the next page, you set up SSH for a Mercurial repository on Windows with TortoiseHg. If you are working on Mac OSX or Linux, a single set of instructions shows you how to setup and identity for either Git or Mercurial in these environments. Since you're using a Mac, you should see if the instructions at the given help link solve your problems. To be clear, here is the link again:. I can't read your link right now because my browser won't open the page, but from your description, it sounds like you're trying to get ssh-agent to start automatically whenever you open up a terminal. I am trying to follow Set up SSH for Gi. As i follow this within the mac terminal and i get most of it but the ending as it does not work so i think its GitBash i need and not terminal so where can i find this on the mac? I get as far as step 5 then section 6 where when i reopen gitbash i should get the passphrase question etc but nothing and when i list identities ssh-add -l i get nothing. If you are new to git, I would highly recommend using download git bash for mac GIT GUI, SourceTree SourceTree should automatically setup GIT on your machine, and manage your repo right from the application. Then you can just use the following command to see if you have git installed: I actually highly recommend that people learn to use Git from the command line, not a GUI like SourceTree, because GUIs have a big tendency to abstract away too much knowledge about how Git actually works. With regards to my question though is what is gitbash i have set up identities several times but once the machine is closed then i restart it seems to keep telling download git bash for mac no permissions or identities so download git bash for mac into ways gitbash is mentioned open in gitbash etc but what is it all i use is the terminal?
|