mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 01:12:42 +01:00
feat(git): run gitf after gitf b (#62)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/62
This commit is contained in:
parent
2591347cd3
commit
b61ae9cedc
1 changed files with 2 additions and 0 deletions
|
|
@ -139,10 +139,12 @@ gitf () {
|
|||
|
||||
if git show-ref --verify --quiet refs/heads/"$branch"; then
|
||||
git checkout $branch
|
||||
gitf
|
||||
return 0
|
||||
fi
|
||||
|
||||
git checkout -b $branch
|
||||
gitf
|
||||
;;
|
||||
|
||||
# Clear local branches that have no upstream on remote (cleanup)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue