thefuck
thefuck copied to clipboard
Default Git branch is assumed to be master
https://github.com/nvbn/thefuck/blob/5198b34f24ca4bc414a5bf1b0288ee86ea2529a8/thefuck/rules/git_branch_delete_checked_out.py#L17
I'm curious if this is intended to be updated to main rather than master or if there's a rationale for keeping it set to master.
master is default for my git cmd since I haven't updated it. I do think that it should check whether the branch exists by running a subshell git branch -l first