![Installing windows on mac os](https://cdn1.cdnme.se/5447227/9-3/7_64e61dfbddf2b36517292648.png)
![installing windows on mac os installing windows on mac os](http://i.ytimg.com/vi/HNkT9uybiUw/maxresdefault.jpg)
![installing windows on mac os installing windows on mac os](https://www.pntbrother.com/wp-content/uploads/2015/06/06.jpg)
![installing windows on mac os installing windows on mac os](https://2.bp.blogspot.com/-_u4wHLIS1VI/UWJKk29mzOI/AAAAAAAAATE/Wk7xwp7JGbE/s1600/4.jpg)
Install the git-credential-osxkeychain helperīitbucket supports pushing and pulling your Git repositories over both SSH and HTTPS. Install Git with bash completion, the OS X keychain helper, and the docs: $ sudo port install git +bash_completion+credential_osxkeychain+doc Search for the latest available Git ports and variants: $ port search git $ port variants git Open your terminal and update MacPorts: $ sudo port selfupdate If you have installed MacPorts to manage packages on OS X, you can follow these instructions to install Git: These details will be associated with any commits that you create: $ git config -global user.name "Emma Paris" $ git config -global user.email To make Git remember your username and password when working with HTTPS repositories, install the git-credential-osxkeychain helper. Verify the installation was successful by typing which git -version: $ git -version git version 2.9.2Ĭonfigure your Git username and email using the following commands, replacing Emma's name with your own. Open your terminal and install Git using Homebrew: $ brew install git If you have installed Homebrew to manage packages on OS X, you can follow these instructions to install Git: These details will be associated with any commits that you create: $ git config -global user.name "Emma Paris" $ git config -global user.email To make Git remember your username and password when working with HTTPS repositories, configure the git-credential-osxkeychain helper. Open a terminal and verify the installation was successful by typing git -version: $ git -version git version 2.9.2Ĭonfigure your Git username and email using the following commands, replacing Emma's name with your own. The easiest way to install Git on a Mac is via the stand-alone installer:ĭownload the latest Git for Mac installer. You may want to install a newer version of Git using one of the methods below: Git for Mac Installer $ git -version git version 2.7.0 (Apple Git-66)Īpple actually maintain and ship their own fork of Git, but it tends to lag behind mainstream Git by several major versions. To find out, open a terminal and enter git -version. In fact, if you've installed XCode (or it's Command Line Tools), Git may already be installed. There are several ways to install Git on a Mac.
![Installing windows on mac os](https://cdn1.cdnme.se/5447227/9-3/7_64e61dfbddf2b36517292648.png)