Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e85e80e0
Commit
e85e80e0
authored
Oct 28, 2020
by
Amy Qualls
Committed by
Craig Norris
Oct 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additions to git install instructions
Added commands to install git on various GNU/Linux Distros and BSDs
parent
2343c8e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
12 deletions
+21
-12
doc/university/training/topics/env_setup.md
doc/university/training/topics/env_setup.md
+21
-12
No files found.
doc/university/training/topics/env_setup.md
View file @
e85e80e0
...
...
@@ -6,22 +6,31 @@ comments: false
## Install
-
**Windows**
-
Install 'Git for Windows' from
<https://gitforwindows.org>
-
**Windows**
- Install 'Git for Windows' from
[
Git for Windows
](
https://gitforwindows.org
)
.
-
**Mac**
-
Type '
`git`
' in the Terminal application.
-
If it's not installed, it will prompt you to install it.
-
**Linux**
```
shell
sudo
yum
install
git-all
```
```
shell
sudo
apt-get
install
git-all
```
-
**Linux**
- Enter
`which git`
in the Terminal application and press
<kbd>
Enter
</kbd>
to
determine if Git is installed on your system.
-
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.
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment