HackerTrans
TopNewTrendsCommentsPastAskShowJobs

phonebucket

no profile record

comments

phonebucket
·4 tahun yang lalu·discuss
This answer feels generated by ChatGPT. No human would side with ChatGPT so strongly.
phonebucket
·5 tahun yang lalu·discuss
git config --global alias.undo 'reset --soft HEAD~1'

Not that I would include this in my own shell. To the authors two example uses: 1) Undoing an amended commit. But if you're comfortable amending a commit, can't you just amend your amended commit? 2) Accidentally commiting an incorrectly resolved merge conflict. Revert the change if you want to be non-destructive. Reset HEAD~1 otherwise.
phonebucket
·5 tahun yang lalu·discuss
There are clearly elements of this which make for a frustrating experience.

But, looking at the timestamps, from the point of first message to actually cancelling the subscription was 14 minutes. Not too outrageous?