junior-jl wrote: > @junior-jl You pushed 921 commits to your branch, I doubt you wanted to do > this. > > To fix this, I'd first find all your commits (so you don't lose your previous > work): > > ``` > $ git log --author "José Lira Junior" # or your email address > ``` > > Save the commit hashes to recover them later on. > > I'd reset your branch to main: > > ``` > $ git checkout start > $ git fetch origin > $ git reset --hard origin/main > ``` > > Then, you just have to cherry-pick the commits you saved earlier: > > ``` > $ git cherry-pick <commit-hash> > ``` > > Finally, push your branch again to your personal GitHub remote: > > ``` > $ git push -f <personal-github-remote> start > ``` > > I think you can also squash all the commits into a single one to reduce the > noise and make it easier to revert in case your patch causes some issues when > it lands.
Oh, thank you so much! I guess it is correct now. https://github.com/llvm/llvm-project/pull/67019 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
