mirror of https://github.com/namibia/tips.git
Merge pull request #167 from mvolz/patch-1
Add -L flag to follow redirect to get correct file
This commit is contained in:
commit
fa759b5cca
|
@ -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?
|
||||
|
|
|
@ -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