Skip to content

Commit 512de05

Browse files
committed
fixup! Adding readme for microsoft/git
1 parent 4500374 commit 512de05

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

README.md

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -113,30 +113,8 @@ Or you can run the `git update-microsoft-git` command, which will run those
113113

114114
## Linux
115115

116-
`apt-get` support is available for Ubuntu Bionic Beaver (18.04) and Hirsute
117-
Hippo (21.04). Take the following steps to set up and install based on the
118-
version you are running:
119-
120-
### Ubuntu 18.04 (Bionic)
121-
122-
```shell
123-
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
124-
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
125-
sudo apt-get update
126-
sudo apt-get install microsoft-git
127-
```
128-
129-
To upgrade `microsoft/git`, you can run the necessary `apt-get` commands:
130-
131-
```shell
132-
sudo apt-get update
133-
sudo apt-get upgrade microsoft-git
134-
```
135-
136-
Or you can run the `git update-microsoft-git` command, which will run those
137-
`apt-get` commands for you.
138-
139-
### Ubuntu 21.04 (Hirsute)
116+
`apt-get` support is available for Ubuntu Hirsute
117+
Hippo (21.04). Take the following steps to set up and install:
140118

141119
```shell
142120
curl -sSL https://packages.microsoft.com/config/ubuntu/21.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
@@ -157,7 +135,7 @@ Or you can run the `git update-microsoft-git` command, which will run those
157135

158136
### Other Ubuntu/Debian distributions
159137

160-
Please use the most recent
138+
On newer distributions*, you may use the most recent
161139
[`.deb` package](https://github.com/microsoft/git/releases). For example,
162140
you can download a specific version as follows:
163141

@@ -176,7 +154,13 @@ scalar version
176154

177155
To upgrade, you will need to repeat these steps to reinstall.
178156

179-
### Non-Ubuntu/Debian distributions
157+
*Older distributions are missing some required dependencies. Even
158+
though the package may appear to install successfully, `microsoft/
159+
git` will not function as expected. If you are running Ubuntu 18.04 or
160+
older, please follow the install from source instructions below
161+
instead of installing the debian package.
162+
163+
### Other distributions
180164

181165
You will need to compile and install `microsoft/git` from source:
182166

0 commit comments

Comments
 (0)