Skip to content

Commit

Permalink
Merge pull request #167 from mvolz/patch-1
Browse files Browse the repository at this point in the history
Add -L flag to follow redirect to get correct file
  • Loading branch information
hemanth authored Nov 19, 2018
2 parents 9e3a9f7 + bc28055 commit fa759b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,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?
Expand Down
2 changes: 1 addition & 1 deletion tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"tip": "git add -p"
}, {
"title": "Get git bash completion",
"tip": "curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
"tip": "curl -L http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc"
}, {
"title": "What changed since two weeks?",
"tip": "git log --no-merges --raw --since='2 weeks ago'",
Expand Down

0 comments on commit fa759b5

Please sign in to comment.