New comment by hervyqa on void-packages repository https://github.com/void-linux/void-packages/pull/34683#issuecomment-1001626179 Comment: > Just `git commit --amend` is enough for most cases, to avoid making a new commit at all. > > What commands did you run for this to happen? > > `git rebase upstream/master -i; git push -f` should be enough to fix, if you squash the commits. that is my mistake. first I clicked the fetch button from github, then git pull to the LibreCAD branch. It turns out that all commits from master are joined to the LibreCAD branch. Then I tried to push, it didn't come back to https://github.com/void-linux/void-packages/commit/6daf0ff. sorry @ericonr, I'm still a beginner with git. any suggestions to go back to https://github.com/void-linux/void-packages/commit/6daf0ff and skip commits afterwards? because of this I feel guilty.