Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you did actually commit, you should be able to find the changes on the reflog

In magit, it's accessable from the log menu

Create a branch, reset it to the badly worded commit hash and then you can try to ammend again.



I was breaking a bunch of unstaged changes into two commits, and the part I lost had not been committed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: