Back to News
Advertisement
Advertisement

⚑ Community Insights

Discussion Sentiment

50% Positive

Analyzed from 75 words in the discussion.

Trending Topics

#git#reset#keyboard#using#head#mode#going#funny#without#staging

Discussion (3 Comments)Read Original on HackerNews

abc3354β€’about 1 hour ago
I was going to say it is funny that git without staging, stash and branches is really close to the philosophy of jujutsu.

Then I found the article links to jj homepage

evanjrowleyβ€’about 3 hours ago
How I use them: My big expensive mechanical keyboard collection is mostly using QMK firmware. For whichever keyboards I'm currently using, I have a git worktree per-keyboard.
chmaynardβ€’about 7 hours ago
It would be useful to mention that

    $ git reset ~HEAD
doesn't specify a reset mode, so the default mode --mixed is used. I prefer to use

    $ git reset --soft ~HEAD
which leaves both the working tree and index unchanged.