git : add gg.
This commit is contained in:
parent
877be2ec83
commit
45590c24e9
|
@ -522,6 +522,7 @@ Command|Description
|
||||||
`ga`|Git add with preview.
|
`ga`|Git add with preview.
|
||||||
`gr [COUNT]`|Git rebase. 2 last commits by default. 0 means from root.
|
`gr [COUNT]`|Git rebase. 2 last commits by default. 0 means from root.
|
||||||
`gu [EMAIL]`|Configure git user as Dmitry Voronin with specified email (project).
|
`gu [EMAIL]`|Configure git user as Dmitry Voronin with specified email (project).
|
||||||
|
`gg <REPO>`|Get git repo from my own git.
|
||||||
|
|
||||||
## Ls.
|
## Ls.
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,13 @@ gu()
|
||||||
git config user.email "${email}"
|
git config user.email "${email}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Get my git repo.
|
||||||
|
# Usage: gg <REPO>
|
||||||
|
gg()
|
||||||
|
{
|
||||||
|
git clone https://git.voronind.com/voronind/"${1}"
|
||||||
|
}
|
||||||
|
|
||||||
# autocomplete.
|
# autocomplete.
|
||||||
_completion_loader git &> /dev/null
|
_completion_loader git &> /dev/null
|
||||||
__git_complete gps _git_push &> /dev/null
|
__git_complete gps _git_push &> /dev/null
|
||||||
|
|
Reference in a new issue