feat(git): run gitf after gitf b (#62)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/62
This commit is contained in:
Victor Westerlund 2025-11-01 19:07:00 +01:00
parent 2591347cd3
commit b61ae9cedc

View file

@ -139,10 +139,12 @@ gitf () {
if git show-ref --verify --quiet refs/heads/"$branch"; then if git show-ref --verify --quiet refs/heads/"$branch"; then
git checkout $branch git checkout $branch
gitf
return 0 return 0
fi fi
git checkout -b $branch git checkout -b $branch
gitf
;; ;;
# Clear local branches that have no upstream on remote (cleanup) # Clear local branches that have no upstream on remote (cleanup)