[bug-ish] [convenience] fatal: only [12] (reference)s? expected, [12] given

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux