I messed up in a way I have not seen a solution for resolving due to how I so brilliantly used --amend --reset-author when committing to keep everything on the same commit. Basically, I completed work on a branch, committed and pushed, and then:
- checked out master and pulled
- checked out my branch
- git rebase master, had merge conflict, fixed it
- git commit --amend --reset-author BEFORE completing the rebase (oops)
- git push -f (fatal, you're not on a branch)
- git rebase --continue
- git commit --amend --reset-author
- git push -f
After force pushing is when I realized that I completely botched the rebase and now when I diff it's including code that isn't mine as changes. Is there any way to fix this? I unfortunately do not have a commit history to work with so I think I might be SOL here.