Fixing git bash completion script URL.

http://git.io/vfhol
This URL leads to the needful script via redirect. When I do `$ curl http://git.io/vfhol` (on OSX, at least), it fetches redirect info:

```sh
<html><body>You are being <a href="https://git.io/vfhol">redirected</a>.</body></html>
```
When I set curl option to -L (--location), everything works properly.
This commit is contained in:
Vladimir 2016-11-28 01:35:33 +03:00
parent 9e7c67ed6c
commit 37d2ef123c
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ git add -p
## Get git bash completion
```sh
curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
curl -L http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
```
## What changed since two weeks?