比如从 branch A 切出一个 branch B

然后对branch B做了一系列的操作

然后忘记了branch B是从哪个分支切出来的

如何找到基于哪个分支创建的?

Answer

git reflog --date=local | grep <branchname>

可以看看这个How to determine when a Git branch was created?

转载于:https://my.oschina.net/yangchunlian/blog/1799601

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案