Commit 75cd9448 authored by Craig Norris's avatar Craig Norris

Merge branch 'docs-aqualls-git-improvements' into 'master'

Improvements to git page

See merge request gitlab-org/gitlab!46365
parents 1b3c9a10 e85e80e0
...@@ -6,22 +6,31 @@ comments: false ...@@ -6,22 +6,31 @@ comments: false
## Install ## Install
- **Windows** - **Windows** - Install 'Git for Windows' from [Git for Windows](https://gitforwindows.org).
- Install 'Git for Windows' from <https://gitforwindows.org>
- **Mac** - **Mac**
- Type '`git`' in the Terminal application. - Type '`git`' in the Terminal application.
- If it's not installed, it will prompt you to install it. - If it's not installed, it will prompt you to install it.
- **Linux** - **Linux** - Enter `which git` in the Terminal application and press <kbd>Enter</kbd> to
determine if Git is installed on your system.
```shell
sudo yum install git-all - If the output of that command gives you the path to the Git executable, similar to
``` `/usr/bin/git`, then Git is already installed on your system.
- If the output of the command displays "command not found" error, Git isn't installed on your system.
```shell
sudo apt-get install git-all GitLab recommends installing Git with the default package manager of your distribution.
``` The following commands install Git on various GNU/Linux distributions using their
default package managers. After you run the command corresponding to your distribution
and complete the installation process, Git should be available on your system:
- **Arch Linux and its derivatives** - `sudo pacman -S git`
- **Fedora, RHEL, and CentOS** - For the `yum` package manager run `sudo yum install git-all`,
and for the `dnf` package manager run `sudo dnf install git`.
- **Debian/Ubuntu and their derivatives** - `sudo apt-get install git`
- **Gentoo** - `sudo emerge --ask --verbose dev-vcs/git`
- **openSUSE** - `sudo zypper install git`
- **FreeBSD** - `sudo pkg install git`
- **OpenBSD** - `doas pkg_add git`
## Configure Git ## Configure Git
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment