wfxr.forgit/bin
carlfriedrich 432b642a16 checkout_branch: support "-" argument
git natively supports `-` as an argument to `git switch` and `git
checkout`. It is shorthand for `@{-1}`, which is a way to refer to the
last branch you were on.

forgit used to interpret `-` as a branch name, detect that it does not
exist yet and create a new one with this name, which does not work.

Add a check whether `-` is passed on the command line and do not create
a new branch in this case
2023-08-10 15:00:54 +02:00
..
git-forgit checkout_branch: support "-" argument 2023-08-10 15:00:54 +02:00