Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Getting started with Git

Download Git

You may download the Git source code from the official Git website and compile it yourself.

Git is also available from most Linux distributions package repositories and the Mac OS X MacPorts.

On Windows, MSysGit will be your best friend.

Basic setup

Git needs to know who you are when you make code changes, hence start by defining those informations:

git config --global user.name "John B"
git config --global user.email "john@be-root.com"

Everyone loves fancy colors, so do yourself a favor and get colored text output when using Git:

git config --global color.ui "auto"

IDE integration

Git is increasingly well supported among IDEs. If you think that Vim/Emacs/TextMate and Bash/ZSH do not form a suitable kind of IDE, you will be pleased to know that:

  • IntelliJ IDEA supports Git out of the box (all editions), and
  • the EGit project brings Git to Eclipse, and
  • NBGit will also please the NetBeans users.

(TBC)

  • No labels