比方說,我的倉庫的主分支看起來是這樣的:的Git:繼續倉庫的歷史從上一次提交
* commit 75e259944814a102d6362eaf42fd4ff09d839865
|
| Bad commit
|
* commit 0307a5c4e623c584898c44d243a50bb02c91aa9e
|
| Good commit 1.
|
* commit 98ef0e69e3e5cd51ff5e24c1df616703272c5a79
|
| Good commit 1.
|
壞提交已被推到中央存儲庫和分發。我想繼續從最後一次良好的承諾中獲得歷史。當我做,我想歷史看起來像
* commit 0626f793ff7ba847e7663fe88de6c6a2d597dc73
|
| Continuing development.
|
| * commit 75e259944814a102d6362eaf42fd4ff09d839865
| |
| | Bad commit
| |
| |
| |
* | commit 0307a5c4e623c584898c44d243a50bb02c91aa9e
|/
| Good commit 2.
|
|
|
* commit 98ef0e69e3e5cd51ff5e24c1df616703272c5a79
|
| Good commit 1.
|
也就是說,發展從過去的「好」的承諾繼續。即使在開發者中分發了「壞」提交,我能否安全地實現這一點?