diff --git a/README.md b/README.md index 9161377..ceb4974 100644 --- a/README.md +++ b/README.md @@ -364,7 +364,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 https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc ``` ## What changed since two weeks? diff --git a/tips.json b/tips.json index 92d1b38..4b74a8f 100644 --- a/tips.json +++ b/tips.json @@ -101,7 +101,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 https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash > ~/.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'",