mirror of
https://github.com/namibia/tips.git
synced 2024-12-23 02:28:58 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
04f388e191
@ -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)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- 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 -->
|
<!-- @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
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t 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 -->
|
||||||
|
@ -66,5 +66,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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user