How about add `--force` option for `mrgit co` command to force checkout branches?
I never used it but I guess it makes sense. Although, since there are many options that git checkout accepts, I'd suggest doing this like mrgit diff:
mrgit co branch -- --force
This way you'll be able to pass there whatever you need.
Although, the difference between mrgit co and mrgit diff is that diff doesn't require any param so all params go after --. For mrgit co the branch name perhaps needs to go before -- because that's how mrgit needs it.
I found this might not be a good idea, because I can just use mrgit exec 'git checkout -b new-branch to do the same.
I found this might not be a good idea, because I can just use
mrgit exec 'git checkout -b new-branchto do the same.
Is there a way to change the default shell of mrgit exec?
Is there a way to change the default shell of
mrgit exec?
At this moment, there is no way to change the default shell while executing the exec command.