posts/git-rebase-intro/ #16
Replies: 7 comments 1 reply
-
文章中的
在什么情况下会发生覆盖的情况呢 |
Beta Was this translation helpful? Give feedback.
-
看到国内很多文章都是写的,对于已经 |
Beta Was this translation helpful? Give feedback.
-
@ryanqy 感谢提问,我思考了之后觉得这里用「覆盖」一词并不准确,因为这种操作并不会「丢失」提交,只是会搞乱提交历史。具体会发生的情况是这样的:
所以你的理解是正确的,另外有一篇英文博客对这种情况解释的更加全面,你可以看一下:https://www.daolf.com/posts/git-series-part-2/ |
Beta Was this translation helpful? Give feedback.
-
感谢博主分享,很多文章都不推荐rebase 操作 远程仓库的commit,理由是会搞乱分支。 |
Beta Was this translation helpful? Give feedback.
-
你的理解是对的 😄 |
Beta Was this translation helpful? Give feedback.
-
动图很不错,直观! |
Beta Was this translation helpful? Give feedback.
-
博主,文章的动图是用啥软件生成的呀 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Git Rebase 操作浅析 | Shall We Code?
以前我对 git rebase -i 的用法一直是一知半解,一次在需要合并多个提交时刚好用到,一顿操作差点把提交都搞丢了,幸好后面顺利找回,因此记录一下……
https://www.waynerv.com/posts/git-rebase-intro/
6a5c7660cc901232934675bee135bc0222015ee5
Beta Was this translation helpful? Give feedback.
All reactions