mirror of https://github.com/namibia/tips.git
Add -L to follow redirects
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.
This commit is contained in:
parent
96124215b6
commit
03f10d90fe
|
@ -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'",
|
||||
|
|
Loading…
Reference in New Issue