3 ms·
Another example is stuff like this: git fetch origin main git reset —-hard origin/main Why does the first “origin main” not need a slash and the second does?
by SOLAR_FIELDS 3y ago
Another example is stuff like this:
git fetch origin main
git reset —-hard origin/main
Why does the first “origin main” not need a slash and the second does? I’m sure there’s a “perfectly reasonable” explanation for it but it screams UX inconsistency to me.
In before people tell me that it makes perfect sense because that’s how Git works. Well duh, because Git was designed that way, not that the problem that it’s encapsulating demands it