Skip to content

Instantly share code, notes, and snippets.

@jacobian
Created March 29, 2024 15:22
Show Gist options
  • Save jacobian/2001daff2b57db58d4e584c47d59fd55 to your computer and use it in GitHub Desktop.
Save jacobian/2001daff2b57db58d4e584c47d59fd55 to your computer and use it in GitHub Desktop.
git checkout sustain-podcast
# Make some edits here...
git add -A
gitmoji -c # just a fancy git commit
# I think this is where I fucked up - I was maybe supposed to push?
# But I really thought `gh pr merge` did that for me. Perhaps something
# changed in a recent version?
gh pr merge
# Wait for the site to build, notice my latest changes aren't there
# fuck damnit fuck
git pull # still in the "denial" phase
history # trying to figure out wtf I did
git reflog # ok whew see the commit
# here I ask ChatGPT how to get my changes back:
# https://chat.openai.com/share/7b3fa087-1394-47dc-a8a5-e41bf44d5446
# luckily it knows, because I sure don't remember
git merge e12b869
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment