Add checkout command

This commit is contained in:
Talia 2019-12-17 17:13:48 +01:00
parent d07ad006f0
commit d6db0e1f00
2 changed files with 2 additions and 0 deletions

1
bashrc
View File

@ -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
View File

@ -0,0 +1 @@
git checkout $(git for-each-ref --format='%(refname:short)' refs/heads/* | dmenu -b)