11 ms·
Oh, I see. I created this great patch and commited it. Then I wanted to push it, but it reported some strange error. I checked out master but now my commit is
by lixtra 8y ago
Oh, I see. I created this great patch and commited it.
Then I wanted to push it, but it reported some strange error.
I checked out master but now my commit is no longer there.
HELP!
Can I somehow push my changes to you so you can fix it?
Ah let's intuitively try:
git log --graph --decorate $(git rev-list -g --all)
For comparisson:
- mercurial would show your commit all the time, no matter what currently is checked out.
- Only when you push, you have to force it, to create a new head in the remote repository because most workflows expect you to merge heads locally.
- seba_dos1 8y agoAll I get from this comment is that "git reflog" should be one of the first things taught about git :P