Add checkout command
This commit is contained in:
parent
d07ad006f0
commit
d6db0e1f00
2 changed files with 2 additions and 0 deletions
1
bashrc
1
bashrc
|
@ -23,6 +23,7 @@ alias workspace='cd ~/workspace'
|
|||
alias shit='git'
|
||||
alias ranger='source ranger'
|
||||
alias ta='tmux a -t'
|
||||
alias co='checkout'
|
||||
|
||||
stty -ixon
|
||||
|
||||
|
|
1
bin/checkout
Executable file
1
bin/checkout
Executable file
|
@ -0,0 +1 @@
|
|||
git checkout $(git for-each-ref --format='%(refname:short)' refs/heads/* | dmenu -b)
|
Loading…
Reference in a new issue