Git/Download: Difference between revisions
From KitwarePublic
< Git
Jump to navigationJump to search
Daviddoria (talk | contribs) m (→Linux) |
|||
Line 45: | Line 45: | ||
==Linux== | ==Linux== | ||
Popular Linux distributions already come with packages for Git. | |||
Typically the packages are called: | Typically the packages are called: | ||
Revision as of 13:45, 26 August 2010
Generic
Visit the main Git download site.
Windows
Git comes in two flavors on Windows:
- A Windows native application installer
- A Cygwin package
Choose one and stick with it. They do not get along well in a given work tree on disk (the repository formats are compatible but the "stat cache" of the work tree is not).
MSysGit
Download the "Full installer for official Git" from here.
Run the installer. When prompted, choose to not modify the PATH
and choose the core.autocrlf=true
option.
Launch the "Git Bash" tool to get a command line shell with Git.
Cygwin
Install packages:
- git: Git command-line tool
- gitk: Graphical history browser
- git-completion: Bash shell completion rules
Launch a Cygwin command prompt to get a command line shell with Git.
Mac
OS X Installer
Download an installer from here.
MacPorts
Enter these commands:
$ sudo port selfupdate $ sudo port install git-core +doc
Linux
Popular Linux distributions already come with packages for Git. Typically the packages are called:
- git-core: Git command-line tool
- git-doc: Git documentation
- gitk: Graphical history browser