Back

Remove latest Commits from my Github

  • 1
  • Tools
  • Web
  • Self Hosted
  • Cloud
Carre
24 Jul, 2024, 10:04

How can i remove the Commit appwrite did to my github? I tryed to use git reset --hard HEAD~1 command in terminal to reset but now my uncommited files i worked on for VERY long is gone! 1. How can i remove the commit 2. How can i get my files back?! Please help me

TL;DR
- Developer wants to remove a recent commit on GitHub - Tried using 'git reset --hard HEAD~1' command, but lost uncommitted files - Solution: Try using 'git reflog' to find lost commits, then 'git reset --hard <commit hash>' to revert back and retrieve lost files.
Carre
24 Jul, 2024, 10:12

update, now i have fixed my github repository but my files are gone

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more