相关疑难解决方法(0)

如何存储我以前的提交?

我的情况有以下几点git log:

commit 111  <-- need to push it to the repository

commit 222  <-- need to stash this one

...
Run Code Online (Sandbox Code Playgroud)

正如您所看到的,我只需要将最后一次(没有上一次)提交到存储库.

我该怎么做?git revert --soft commit_hash会帮助我吗?

git

48
推荐指数
3
解决办法
6万
查看次数

标签 统计

git ×1