posted by dalnimbest 2013. 6. 20. 21:27

I heard that Git is installed by default on Mac OS. But I failed downloading my source code when I tried to use BitBucket to download some code with Git.

(맥에는 Git이 기본으로 깔려있다고 들었는데 BitBucket에서 Git을 통해서 소스를 다운받을려고 했는데 안되었다.)


So I need to install Git on my Mac OS. Here is what I learned how to install Git.

(그래서 Mac에 Git을 설치하는법을 살펴보았다.)


1. Download the latest version of Git from the web site "http://git-scm.com/downloads"

("http://git-scm.com/downloads" 에 가서 최신버전의 Git을 다운받는다.)


If there is no specific version for Lion or Mountain Lion. Snow Leopard will work fine.

(만약 라이온이나 산사자버전이 없으면 스노우 레오파드를 받으면 된다.)








Run the package file.

(PKG파일을 실행한다.)



Recommand restart your computer. Though It isn't necesary I believe.

( 설히후 잘 안되면 재부팅을 한다. )


2. configure git setting.

(환경설치)


Tip. If you are already at the Terminal and you can't find git command after intalling git on your Mac just restart the Terminal.

(팁. 만약 Git을 설치하기 터미널에 이미 들어와있으면 Git을 설치해도 명령어가 안먹을때가 있다. 이럴때는 터미널을 다시 실행하면 된다.)


enter user name 

(유저 이름 설정)


$ git config --global user.name "your name (유저 이름)"

ex.