Hello git folks,
I’m writing about something that annoys me since forever: The
reference handling is not consistent between commands. For example, I do
git checkout origin master
but I do
git reset —hard origin/master
I always get it wrong the first time.
Is there a convenience option that circumvents the error?
If one argument is given, but two are expected, split the argument at
the first / and retry - throw error if that isn’t valid
If two arguments are given, but one is expected, concat the arguments
with a /.
Is that possible already, and if not, would you care to implement it?
Thank you for your time.