git rebase: Is it possible to lose work after rebasing a public commit?
<p>I am currently learning to use the <code>git rebase</code> command. I already use it to squash commits together before pushing to the remote, but just now I noticed that I may have screwed up with that. Unfortunately I am not really sure about it and I also can't find any resources that specifically tell me what can happen, that's why I need your help. Here is what I did:</p>

<p>After squashing multiple commits together, I pushed them to remote. A few hours later, I rebased the branch with master, did some commits and squashed these into the commit I previously pushed, and pushed to remote.</p>

<p>I think this is exactly what one should not do since I rebased a commit that was already in public, but what is worst thing that can happen – can there work be lost?</p>

<p>By the way: I am pretty confident that no one else touched this branch or based work from it.</p>