Improve interactive fetch to allow multi-remote pushing
This commit is contained in:
parent
3e2d61f54f
commit
3c8df651d1
2 changed files with 5 additions and 1 deletions
4
bin/git-interactive-push
Executable file
4
bin/git-interactive-push
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
git remote | fzf --layout=reverse --select-1 --preview="git remote show {}" --multi | xargs -I {} git push {} $branch
|
|
@ -21,7 +21,7 @@ alias tmux='tmux -2'
|
|||
alias w='watch -t -d -n 1'
|
||||
alias wmu='wake-me-up'
|
||||
alias tmfa='tmux-fzf'
|
||||
alias gp='git push $(git remote | fzf --select-1 --preview='"'ls -l'"') $(git rev-parse --abbrev-ref HEAD)'
|
||||
alias gp='git interactive-push'
|
||||
|
||||
bat_theme() {
|
||||
if [ -e $HOME/.dark ]
|
||||
|
|
Loading…
Reference in a new issue