TIL: git branch newbranch; git reset --hard HEAD~1; git checkout newbranch #forgottobranch
1
Replying to @dsilverstone
@dsilverstone This is a hard thing to get used to. Especially when dealing with remotes and pull requests.
1