Damus
nostrich profile picture
nostrich
I did it! I spent 5 seconds to google something that I've conciously been doing inefficiently for a decade.

git reset --hard "@{u}"

reset to the upstream branch, same as:

git reset --hard origin/my-branch-name
1
dorotaC · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpql8ddp75lepawcsfyt4tv5lxfeg0eedaudrtmtngv0mym7qv6qndqar9kyk But now you're using your memory inefficiently to store a redundant way to do the same thing! /me keeps git resetting --hard origin/branch