jakub-g / dotfiles

:heavy_dollar_sign: Lots of aliases, mostly git-related
https://gist.github.com/jakub-g
2 stars 0 forks source link

git review #16

Open jakub-g opened 1 year ago

jakub-g commented 1 year ago
    review = "!git config --add remote.origin.fetch \"+refs/heads/$1:refs/remotes/origin/$1\" && git fetch -f --set-upstream origin \"$1\" && git checkout \"$1\" #"

Problem: if branch is removed, then git fetch will fail