I am trying to squash a few commits from my branch before merging a pull request.
When doing git log
I can scroll down to the commits I want to squash (14 commits back).
Doing git rebase -i HEAD~14
shows my comments and also commits made onto master, moving back the commits I want to squash
简而言之,这是正常情况,因为您从master结帐,所以看到以前的历史记录已提交。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.