git pull --rebase and now my commits are duplicated
Did git pull --rebase on git 2.44 and now git log shows my two local commits twice, once with different hashes. I think someone force pushed to main earlier today. Working tree looks fine but the history is a mess and I'm scared to push. Is it safe to just reset? What's the clean way out without losing my actual changes?
3 replies