diff options
| -rw-r--r-- | _posts/2009-06-13-git-installation-redirect.markdown | 18 | ||||
| -rw-r--r-- | _posts/2009-06-14-linux-git-installation.markdown | 87 | ||||
| -rw-r--r-- | _posts/2009-06-14-mac-git-installation.textile | 5 | ||||
| -rw-r--r-- | _posts/2009-06-14-win-git-installation.markdown | 24 |
4 files changed, 132 insertions, 2 deletions
diff --git a/_posts/2009-06-13-git-installation-redirect.markdown b/_posts/2009-06-13-git-installation-redirect.markdown new file mode 100644 index 0000000..1589bdb --- /dev/null +++ b/_posts/2009-06-13-git-installation-redirect.markdown @@ -0,0 +1,18 @@ +--- +layout: default +title: Installing git +description: How to install git +categories: setup +--- + +Attempting to redirect to the guide for your OS. If the redirect fails, pick your OS: + +* [Windows](win-git-installation) +* [Mac](mac-git-installation) +* [Linux](linux-git-installation) + +<script type="text/javascript"> + if (navigator.appVersion.indexOf("Win") != -1) {window.location = 'http://help.github.com/win-git-installation/'} + else if (navigator.appVersion.indexOf("Mac") != -1) {window.location = 'http://help.github.com/mac-git-installation/'} + else if (navigator.appVersion.indexOf("X11") != -1 || navigator.appVersion.indexOf("Linux") != -1) {window.location = 'http://help.github.com/linux-git-installation/'} +</script>
\ No newline at end of file diff --git a/_posts/2009-06-14-linux-git-installation.markdown b/_posts/2009-06-14-linux-git-installation.markdown new file mode 100644 index 0000000..ccf2c96 --- /dev/null +++ b/_posts/2009-06-14-linux-git-installation.markdown @@ -0,0 +1,87 @@ +--- +layout: default +title: Installing git (Linux) +description: How to install git on Linux +categories: linux +--- + +Ubuntu +------ + +Git can be installed on ubuntu from the default package repositories using synaptic or apt-get. It is suggested you install git-core, git-gui, and git-doc. If you are moving from svn you may want to install git-svn as well. + +After you have completed installation you will need to [generate an SSH keypair](/linux-key-setup) and [set your local git config](/git-email-settings). + +### Synaptic (GUI) + +Launch Synaptic: + + + +Select the packages you wish to install. + + + +Click apply to install: + + + +### apt-get (command line) + +<pre class="terminal">$ sudo apt-get install git-core git-gui git-doc +Reading package lists... Done +Building dependency tree +Reading state information... Done +The following packages were automatically installed and are no longer required: + linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic +Use 'apt-get autoremove' to remove them. +The following extra packages will be installed: + gitk tcl tcl8.4 tk tk8.4 +Suggested packages: + git-arch git-cvs git-svn git-email git-daemon-run gitweb tclreadline +The following NEW packages will be installed: + git-core git-doc git-gui gitk tcl tcl8.4 tk tk8.4 +0 upgraded, 8 newly installed, 0 to remove and 112 not upgraded. +Need to get 4074kB/8396kB of archives. +After this operation, 22.7MB of additional disk space will be used. +Do you want to continue [Y/n]? y +Get:1 http://us.archive.ubuntu.com jaunty/main git-doc 1:1.6.0.4-1ubuntu2 [1126kB] +Get:2 http://us.archive.ubuntu.com jaunty/main tcl8.4 8.4.19-2 [1178kB] +Get:3 http://us.archive.ubuntu.com jaunty/main tcl 8.4.16-2 [4154B] +Get:4 http://us.archive.ubuntu.com jaunty/main tk8.4 8.4.19-2 [1019kB] +Get:5 http://us.archive.ubuntu.com jaunty/main tk 8.4.16-2 [4184B] +Get:6 http://us.archive.ubuntu.com jaunty/universe git-gui 1:1.6.0.4-1ubuntu2 [425kB] +Get:7 http://us.archive.ubuntu.com jaunty/main gitk 1:1.6.0.4-1ubuntu2 [318kB] +Fetched 4074kB in 1min 12s (56.6kB/s) +Selecting previously deselected package git-core. +(Reading database ... 121308 files and directories currently installed.) +Unpacking git-core (from .../git-core_1%3a1.6.0.4-1ubuntu2_i386.deb) ... +Selecting previously deselected package git-doc. +Unpacking git-doc (from .../git-doc_1%3a1.6.0.4-1ubuntu2_all.deb) ... +Selecting previously deselected package tcl8.4. +Unpacking tcl8.4 (from .../tcl8.4_8.4.19-2_i386.deb) ... +Selecting previously deselected package tcl. +Unpacking tcl (from .../archives/tcl_8.4.16-2_all.deb) ... +Selecting previously deselected package tk8.4. +Unpacking tk8.4 (from .../tk8.4_8.4.19-2_i386.deb) ... +Selecting previously deselected package tk. +Unpacking tk (from .../archives/tk_8.4.16-2_all.deb) ... +Selecting previously deselected package git-gui. +Unpacking git-gui (from .../git-gui_1%3a1.6.0.4-1ubuntu2_all.deb) ... +Selecting previously deselected package gitk. +Unpacking gitk (from .../gitk_1%3a1.6.0.4-1ubuntu2_all.deb) ... +Processing triggers for man-db ... +Setting up git-core (1:1.6.0.4-1ubuntu2) ... +Setting up git-doc (1:1.6.0.4-1ubuntu2) ... +Setting up tcl8.4 (8.4.19-2) ... + +Setting up tcl (8.4.16-2) ... + +Setting up tk8.4 (8.4.19-2) ... + +Setting up tk (8.4.16-2) ... + +Setting up git-gui (1:1.6.0.4-1ubuntu2) ... +Setting up gitk (1:1.6.0.4-1ubuntu2) ... +Processing triggers for libc6 ... +ldconfig deferred processing now taking place</pre> diff --git a/_posts/2009-06-14-mac-git-installation.textile b/_posts/2009-06-14-mac-git-installation.textile index 7e5317a..cd4867a 100644 --- a/_posts/2009-06-14-mac-git-installation.textile +++ b/_posts/2009-06-14-mac-git-installation.textile @@ -2,12 +2,13 @@ layout: default title: Installing git (OSX) description: How to install git on OSX -categories: mac setup -main_category: setup +categories: mac --- There are a number of methods to install git on OSX. This guide details the most common methods, in order of ease of install. +After you have completed installation you will need to "generate an SSH keypair":/mac-key-setup and "set your local git config":/git-email-settings. + h2. Pre-compiled Installer Download and run "git-osx-installer":http://code.google.com/p/git-osx-installer/ diff --git a/_posts/2009-06-14-win-git-installation.markdown b/_posts/2009-06-14-win-git-installation.markdown new file mode 100644 index 0000000..ed41f9b --- /dev/null +++ b/_posts/2009-06-14-win-git-installation.markdown @@ -0,0 +1,24 @@ +--- +layout: default +title: Installing git (Win/msysgit) +description: How to install git on Windows +categories: windows +--- + +Installing git on windows is a fairly straightforward process. To begin, download the latest version of [msysgit](http://code.google.com/p/msysgit/). + +_This guide was written with Git-1.6.5.1-preview20091022.exe, newer versions may differ._ + +For each step we will use the default options. It is advisable that you do not use PuTTY if the installer gives you that option. GitHub only provides support for openssh. + +After you have completed installation you will need to [generate an SSH keypair](/msysgit-key-setup) and [set your local git config](/git-email-settings). + + + + + + + + + +
\ No newline at end of file |
