Skip to content

Commit fa759b5

Browse files
authored
Merge pull request #167 from mvolz/patch-1
Add -L flag to follow redirect to get correct file
2 parents 9e3a9f7 + bc28055 commit fa759b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ git add -p
373373

374374
## Get git bash completion
375375
```sh
376-
curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
376+
curl -L http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
377377
```
378378

379379
## What changed since two weeks?

tips.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"tip": "git add -p"
105105
}, {
106106
"title": "Get git bash completion",
107-
"tip": "curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
107+
"tip": "curl -L http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
108108
}, {
109109
"title": "What changed since two weeks?",
110110
"tip": "git log --no-merges --raw --since='2 weeks ago'",

0 commit comments

Comments
 (0)