How do I create a new git branch from an old commit?

 

git checkout -b justin a9c146a09505837ec03b

This will create the new branch and check it out.

git branch justin a9c146a09505837ec03b

This creates the branch without checking it out.

相关文章:

  • 2021-08-22
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2022-12-23
  • 2021-11-19
  • 2021-10-08
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案