Skip to content

Commit

Permalink
Add -L to follow redirects
Browse files Browse the repository at this point in the history
As per the comments in #154, use -L to follow the redirect for curl. The tip as written does not currently work as it downloads the html for the redirect page instead.
  • Loading branch information
mvolz authored Nov 5, 2018
1 parent 9612421 commit 03f10d9
Showing 1 changed file with 1 addition and 1 deletion.
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 03f10d9

Please sign in to comment.