1
0
mirror of https://github.com/namibia/tips.git synced 2024-05-29 08:21:23 +00:00

Get git bash completion.

This commit is contained in:
Hemanth.HM 2015-07-17 06:51:14 +05:30
parent 0cd100f768
commit 6cfcc26d9f
2 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,7 @@
* [Undo local changes with the last content in head](https://github.com/git-tips/tips#undo-local-changes-with-the-last-content-in-head) * [Undo local changes with the last content in head](https://github.com/git-tips/tips#undo-local-changes-with-the-last-content-in-head)
* [Changing a remote's URL](https://github.com/git-tips/tips#changing-a-remotes-url) * [Changing a remote's URL](https://github.com/git-tips/tips#changing-a-remotes-url)
* [Stage parts of a changed file, instead of the entire file](https://github.com/git-tips/tips#stage-parts-of-a-changed-file-instead-of-the-entire-file) * [Stage parts of a changed file, instead of the entire file](https://github.com/git-tips/tips#stage-parts-of-a-changed-file-instead-of-the-entire-file)
* [Get git bash completion](https://github.com/git-tips/tips#get-git-bash-completion)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. --> <!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc --> <!-- @doxie.inject end toc -->
@ -94,5 +95,10 @@ git remote set-url origin <URL>
git add -p 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
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. --> <!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end --> <!-- @doxie.inject end -->

View File

@ -54,5 +54,9 @@
{ {
"title": "Stage parts of a changed file, instead of the entire file", "title": "Stage parts of a changed file, instead of the entire file",
"tip": "git add -p" "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"
} }
] ]