diff options
| author | typebrook <typebrook@gmail.com> | 2019-10-18 21:19:30 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-10-18 21:19:30 +0800 |
| commit | 0c0e473eb3bd437b735ec3dc714c2217efb0034b (patch) | |
| tree | 06a451183981f77aa31e2cf828bf18a9419e040f | |
| parent | ce85a716d697bcf8e82452bdb050d7e9fe37692d (diff) | |
update
| -rw-r--r-- | alias | 2 | ||||
| -rw-r--r-- | tigrc | 1 |
2 files changed, 2 insertions, 1 deletions
| @@ -71,7 +71,7 @@ alias g='git' | |||
| 71 | alias gc='git clone' | 71 | alias gc='git clone' |
| 72 | alias gc1='git clone --depth=1' | 72 | alias gc1='git clone --depth=1' |
| 73 | alias gls='git log -S' | 73 | alias gls='git log -S' |
| 74 | alias cdgs='cd `git submodule status | sed 's/^.//' | cut -d" " -f2`' # cd to first submodule | 74 | alias cdgs='cd $(git submodule status | sed 's/^.//' | cut -d' ' -f2)' # cd to first submodule |
| 75 | 75 | ||
| 76 | # docker | 76 | # docker |
| 77 | alias dp='docker ps' | 77 | alias dp='docker ps' |
| @@ -182,6 +182,7 @@ bind main UV >sh -c "git remote -vv | tig" | |||
| 182 | bind main Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )" | 182 | bind main Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )" |
| 183 | bind main U! @git remote remove "%(prompt Remove which remote?: )" | 183 | bind main U! @git remote remove "%(prompt Remove which remote?: )" |
| 184 | bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )" | 184 | bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )" |
| 185 | bind main Uf ?git fetch "%(prompt Fetch from which remote?: )" | ||
| 185 | 186 | ||
| 186 | # note | 187 | # note |
| 187 | #bind generic gnn !git notes edit %(commit) | 188 | #bind generic gnn !git notes edit %(commit) |