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 --- -
- {{< install-header >}} +{{< install-header >}} -
-

- 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 --- -
- {{< install-header "linux" >}} +{{< install-header "linux" >}} +

+ It is easiest to install Git on Linux with your distribution's package + manager. +

+

Debian/Ubuntu

+

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. -

-

Debian/Ubuntu

-

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 +

Fedora

+# yum install git (up to Fedora 21)
+# dnf install git (Fedora 22 and later) -

Fedora

- # yum install git (up to Fedora 21)
- # dnf install git (Fedora 22 and later) +

Gentoo

+# emerge --ask --verbose dev-vcs/git -

Gentoo

- # emerge --ask --verbose dev-vcs/git +

Arch Linux

+# pacman -S git -

Arch Linux

- # pacman -S git +

openSUSE

+# zypper install git -

openSUSE

- # zypper install git +

Mageia

+# urpmi git -

Mageia

- # urpmi git +

Nix/NixOS

+# nix-env -i git -

Nix/NixOS

- # nix-env -i git +

FreeBSD

+# pkg install git -

FreeBSD

- # pkg install git +

Solaris 9/10/11 (OpenCSW)

+# pkgutil -i git -

Solaris 9/10/11 (OpenCSW)

- # pkgutil -i git +

Solaris 11 Express, OpenIndiana

+# pkg install developer/versioning/git -

Solaris 11 Express, OpenIndiana

- # pkg install developer/versioning/git +

OpenBSD

+# pkg_add git -

OpenBSD

- # pkg_add git +

Alpine

+$ apk add git -

Alpine

- $ apk add git +

Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.

+

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.

-

Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.

-

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.

+

Slitaz

+$ tazpkg get-install git -

Slitaz

- $ tazpkg get-install git - -
-
- +{{< /install-header >}} diff --git a/content/install/mac.html b/content/install/mac.html index 39980753f6..794f29f1f3 100644 --- a/content/install/mac.html +++ b/content/install/mac.html @@ -6,41 +6,50 @@ - /downloads/mac --- -
- {{< install-header "mac" >}} +{{< install-header "mac" >}} -
-

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: +

-

Homebrew

-

Install homebrew if you don't already have it, then:
+

Homebrew

+

+ Install homebrew if you don't already have it, then:
$ brew install git

-

MacPorts

-

Install MacPorts if you don't already have it, then:
+

MacPorts

+

+ Install MacPorts if you don't already have it, then:
$ sudo port install git

-

Xcode Command Line Tools

-

Apple ships a binary package of Git with Xcode Command Line - Tools. You can install this via:
- $ xcode-select --install

- -

Binary installer

-

Tim Harper provided an installer for Git until version 2.33.0 / 2021. +

Xcode Command Line Tools

+

+ Apple ships a binary package of Git with + Xcode Command Line Tools. + You can install this via:
+ $ xcode-select --install +

+ +

Binary installer

+

+ 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.

- -

Installing 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

- -
-
- + since that version, nor are there plans to provide any. +

+ +

Installing 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 +

+{{< /install-header >}} diff --git a/content/install/source.html b/content/install/source.html index 42c31f83b2..fd644a459f 100644 --- a/content/install/source.html +++ b/content/install/source.html @@ -3,18 +3,29 @@ title: "Git - Build from Source" --- -
- {{< install-header "source" >}} - -
- -

If you prefer to build from source, you can find tarballs +{{< install-header "source" >}} +

Tarballs

+

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.

-
-
- +

Browse source

+

To browse the source repository, you can visit: +

+

+ +

Git clone

+

If you already have a version of Git installed, you can clone the Git repository: +

+

+{{< /install-header >}} diff --git a/content/install/windows.html b/content/install/windows.html index 677a1b3420..d5e700900e 100644 --- a/content/install/windows.html +++ b/content/install/windows.html @@ -7,79 +7,75 @@ - /install/win --- -
- {{< install-header "windows" >}} +{{< install-header "windows" >}} -
-

+

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 >}}. -

-

Other Git for Windows downloads

-

Standalone Installer

-

- Git for Windows/x64 Setup. -

-

- Git for Windows/ARM64 Setup. -

-

Portable ("thumbdrive edition")

-

- Git for Windows/x64 Portable. -

-

- Git for Windows/ARM64 Portable. -

-

Using winget tool

-

- 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. -

-

Using Chocolatey

-

- 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 >}}. +

+

Other Git for Windows downloads

+

Standalone Installer

+

+ Git for Windows/x64 Setup. +

+

+ Git for Windows/ARM64 Setup. +

+

Portable ("thumbdrive edition")

+

+ Git for Windows/x64 Portable. +

+

+ Git for Windows/ARM64 Portable. +

+

Using winget tool

+

+ 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. +

+

Using Chocolatey

+

+ 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 What?

-

- Now that you have downloaded Git, it's time to start using it. -

- -
-
- +{{< /install-header >}} diff --git a/layouts/partials/site-root.html b/layouts/partials/site-root.html index 66f2c9070a..4a00c43440 100644 --- a/layouts/partials/site-root.html +++ b/layouts/partials/site-root.html @@ -69,10 +69,9 @@

Latest source release

Install - - GitHub Repository + + Git Repository - diff --git a/layouts/shortcodes/install-header.html b/layouts/shortcodes/install-header.html index 99c294d169..50a6263045 100644 --- a/layouts/shortcodes/install-header.html +++ b/layouts/shortcodes/install-header.html @@ -1,32 +1,38 @@ {{- $active := .Get 0 -}} -
-
-

Install

-
- Latest version: {{ site.Params.latest_version }} - (Release Notes) +
+
+
+

Install

+
+ Latest version: {{ site.Params.latest_version }} + (Release Notes) +
-
- + +
+ {{ .Inner | .Page.RenderString }} +
+
+