Comment

Comment by jgworks

This is off topic:

I have a dumb git question and I can never seem to formulate a google search that will help me.

I use a Mac and for some reason I am able to use `head` (lowercase) instead of `HEAD` (uppercase) in every command and its trained in my muscle memory.

So when I go to another computer, this shortcut isn't there, so when I type `git reset --hard head^` I get an error, and I have to go back and change it to `git reset --hard HEAD^`.

Anyone know of a configuration option or something somewhere that I can enable this?

parent jgworks 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton