Quick guide to set up Git on Mac-OSX

There is plenty of information available online about setting up Git on Mac. Here are the steps I followed to setup git on my brand new macbook.

Step 1: Install Git from here. At the time of writing, the latest Git's version is 1.8.2.
Step 2: Double click the .dmg file and follow the installer.
Step 3: Open a new terminal. Yes ! its important to open up a new one. git command may not be available in the old one.
Step 4: Configure your git !

Configuring Git

  • Configuring Username
git config --global user.name "Your Name"
  • Configuring Email
git config --global user.email "Your email"

If you're not very comfortable with command line, then you can use UI "GitHub for Mac" to do all tedious job for you. There are more Git Clients available to try!

No comments:

Post a Comment

Scheduling Repeating Local Notifications using Alarm Manager

Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .