@@ -101,14 +101,15 @@ git version
101
101
scalar version
102
102
```
103
103
104
- To upgrade microsoft/git, you can run the necessary ` brew ` commands:
104
+ To upgrade ` microsoft/git ` , you can run the necessary ` brew ` commands:
105
105
106
106
``` shell
107
107
brew update
108
108
brew upgrade --cask microsoft-git
109
109
```
110
110
111
- Or you can run the ` git update-microsoft-git ` command, which will run those brew commands for you.
111
+ Or you can run the ` git update-microsoft-git ` command, which will run those
112
+ ` brew ` commands for you.
112
113
113
114
## Linux
114
115
@@ -125,6 +126,16 @@ sudo apt-get update
125
126
sudo apt-get install microsoft-git
126
127
```
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
+
128
139
### Ubuntu 21.04 (Hirsute)
129
140
130
141
``` shell
@@ -134,6 +145,16 @@ sudo apt-get update
134
145
sudo apt-get install microsoft-git
135
146
```
136
147
148
+ To upgrade ` microsoft/git ` , you can run the necessary ` apt-get ` commands:
149
+
150
+ ``` shell
151
+ sudo apt-get update
152
+ sudo apt-get upgrade microsoft-git
153
+ ```
154
+
155
+ Or you can run the ` git update-microsoft-git ` command, which will run those
156
+ ` apt-get ` commands for you.
157
+
137
158
### Other Ubuntu/Debian distributions
138
159
139
160
Please use the most recent
@@ -152,7 +173,11 @@ which should have the same output:
152
173
git version
153
174
scalar version
154
175
```
176
+
177
+ To upgrade, you will need to repeat these steps to reinstall.
178
+
155
179
### Non-Ubuntu/Debian distributions
180
+
156
181
You will need to compile and install ` microsoft/git ` from source:
157
182
158
183
``` shell
0 commit comments