- Choose your operating system above. -
-diff --git a/assets/sass/front-page.scss b/assets/sass/front-page.scss index 356ad1ce25..1d50e8fd97 100644 --- a/assets/sass/front-page.scss +++ b/assets/sass/front-page.scss @@ -188,7 +188,7 @@ color: white; } - .github-link { + .git-repo-link { background: transparent; color: var(--font-color); border: 1px solid var(--base-border-color); diff --git a/assets/sass/typography.scss b/assets/sass/typography.scss index 762786dc06..142d7f43d5 100644 --- a/assets/sass/typography.scss +++ b/assets/sass/typography.scss @@ -377,3 +377,7 @@ div.more { .text-center { text-align: center; } +ul.no-bullet { + list-style: none; + margin-left: 0; +} diff --git a/content/install/_index.html b/content/install/_index.html index dd11c49be6..95553bf691 100644 --- a/content/install/_index.html +++ b/content/install/_index.html @@ -9,13 +9,10 @@ - /install.html --- -
- Choose your operating system above. -
-+ Choose your operating system above. +
+ +{{< /install-header >}} diff --git a/content/install/linux.html b/content/install/linux.html index b7d5914402..46dd93fbfa 100644 --- a/content/install/linux.html +++ b/content/install/linux.html @@ -6,61 +6,56 @@ - /downloads/linux --- -+ It is easiest to install Git on Linux with your distribution's package + manager. +
+For the latest stable version for your release of Debian/Ubuntu
+# apt-get install git
+For Ubuntu, this PPA provides the latest stable upstream Git version
+# add-apt-repository ppa:git-core/ppa# apt update; apt install git
- - It is easiest to install Git on Linux with your distribution's package - manager. -
-For the latest stable version for your release of Debian/Ubuntu
-# apt-get install git
- For Ubuntu, this PPA provides the latest stable upstream Git version
-# add-apt-repository ppa:git-core/ppa# apt update; apt install git
+# yum install git (up to Fedora 21)# dnf install git (Fedora 22 and later)
- # yum install git (up to Fedora 21)# dnf install git (Fedora 22 and later)
+# emerge --ask --verbose dev-vcs/git
- # emerge --ask --verbose dev-vcs/git
+# pacman -S git
- # pacman -S git
+# zypper install git
- # zypper install git
+# urpmi git
- # urpmi git
+# nix-env -i git
- # nix-env -i git
+# pkg install git
- # pkg install git
+# pkgutil -i git
- # pkgutil -i git
+# pkg install developer/versioning/git
- # pkg install developer/versioning/git
+# pkg_add git
- # pkg_add git
+$ apk add git
- $ apk add git
+RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.
-RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.
+$ tazpkg get-install git
- $ tazpkg get-install git
-
- There are several options for installing Git on macOS. Note that +
+ There are several options for installing Git on macOS. Note that any non-source distributions are provided by third parties, and may - not be up to date with the latest source release.
+ not be up to date with the latest source release. + -Choose one of the following options for installing Git on macOS:
++ Choose one of the following options for installing Git on macOS: +
-Install homebrew if you don't already have it, then:
+
+ Install homebrew if you don't already have it, then:
$ brew install git
Install MacPorts if you don't already have it, then:
+
+ Install MacPorts if you don't already have it, then:
$ sudo port install git
Apple ships a binary package of Git with Xcode Command Line
- Tools. You can install this via:
- $ xcode-select --install
Tim Harper provided an installer for Git until version 2.33.0 / 2021. +
+ Apple ships a binary package of Git with
+ Xcode Command Line Tools.
+ You can install this via:
+ $ xcode-select --install
+
+ Tim Harper provided an installer for Git until version 2.33.0 / 2021. These installers are no longer linked from here because there are no updates - since that version, nor are there plans to provide any.
- -If you would like to install git-gui and gitk,
- git's commit GUI and interactive history browser, you can do so using homebrew
-
- $ brew install git-gui
+ If you would like to install git-gui
+ and gitk,
+ git's commit GUI and interactive history browser,
+ you can do so using homebrew
+
+ $ brew install git-gui
+
If you prefer to build from source, you can find tarballs +{{< install-header "source" >}} +
To build from source, you can find tarballs on kernel.org. The latest version is }}.tar.gz">{{< site-param "latest_version" >}}.
-There's also an official GitHub mirror.
-To browse the source repository, you can visit: +
+ + +If you already have a version of Git installed, you can clone the Git repository: +
$ git clone https://git.kernel.org/pub/scm/git/git.git$ git clone https://github.com/git/git.git$ git clone https://gitlab.com/git-scm/jxgit.git+
Click here to download - the latest ({{< site-param windows_installer.installer_x64.version >}}) - x64 version of Git for Windows. - This is the most recent maintained build. - It was released on {{< site-param windows_installer.installer_x64.release_date >}}. -
-- Git for Windows/x64 Setup. -
-- Git for Windows/ARM64 Setup. -
-- Git for Windows/x64 Portable. -
-- Git for Windows/ARM64 Portable. -
-
- Install winget tool if you don't already have it, then type this command in command prompt or Powershell.
- winget install --id Git.Git -e --source winget
-
- Note: The Git.Git package in winget is not maintained by the Git for Windows project and might deviate from the latest official version.
-
- Install Chocolatey if you don't already have it, then run:
- choco install git
-
- Note: The git package in Chocolatey is not maintained by the Git for Windows project and might deviate from the latest official version.
-
- The current source code release is version {{< site-param latest_version >}}. - If you want the newer version, you can build it from the source code. -
+ the latest ({{< site-param windows_installer.installer_x64.version >}}) + x64 version of Git for Windows. + This is the most recent maintained build. + It was released on {{< site-param windows_installer.installer_x64.release_date >}}. + ++ Git for Windows/x64 Setup. +
++ Git for Windows/ARM64 Setup. +
++ Git for Windows/x64 Portable. +
++ Git for Windows/ARM64 Portable. +
+
+ Install winget tool if you don't already have it, then type this command in command prompt or Powershell.
+ winget install --id Git.Git -e --source winget
+
+ Note: The Git.Git package in winget is not maintained by the Git for Windows project and might deviate from the latest official version.
+
+ Install Chocolatey if you don't already have it, then run:
+ choco install git
+
+ Note: The git package in Chocolatey is not maintained by the Git for Windows project and might deviate from the latest official version.
+
+ The current source code release is version {{< site-param latest_version >}}. + If you want the newer version, you can build it from the source code. +
-- Now that you have downloaded Git, it's time to start using it. -
-+ Now that you have downloaded Git, it's time to start using it. +
+Dive into the Pro Git book and learn at your own pace.
- -Several free and commercial GUI tools are available for the Windows platform.
- -A knowledgeable Git community is available to answer your questions.
- -