thefuck
thefuck copied to clipboard
checkout to default branch instead of master
In continuation to issue #1341 - git_branch_delete_checked_out
module does not support default branches but only the old master
one.
This PR supports checkout to default branch instead of master
upon deletion of current branch.