I think there are two aspects to using "force with lease".
Firstly, you, a person aware of the option, using it. In this case I
think an alias is very fitting, because you get quickly used to just
typing `git pf` or so. Plus, you don't have the disadvantage you
described: if you’re working on a
Hi,
say I got a file called "asdf" somewhere in a subdirectory. I can do:
git diff other_branch -- \*asdf
and it will show me the diff *only* of that file (which is the only one
that matches), so it works as expected. But if I do on the other hand:
git checkout other_branch -- \*asdf
I get:
2 matches
Mail list logo