mirror of
https://github.com/namibia/tips.git
synced 2024-12-22 10:08:58 +00:00
Get git bash completion.
This commit is contained in:
parent
0cd100f768
commit
6cfcc26d9f
@ -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)
|
||||
* [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)
|
||||
* [Get git bash completion](https://github.com/git-tips/tips#get-git-bash-completion)
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end toc -->
|
||||
@ -94,5 +95,10 @@ git remote set-url origin <URL>
|
||||
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
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
@ -54,5 +54,9 @@
|
||||
{
|
||||
"title": "Stage parts of a changed file, instead of the entire file",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user