Py学习  »  Git

如何在GITHUB上创建新的分支

Mila Bogomolova • 5 年前 • 1563 次点击  

你好,我试图解决我的问题,但没有成功。 我在Github上创建了一个分支,然后在那里提交了一个分支,我删除了一个分支,但是我知道了我的承诺。我试图用我的SHA创建新的分支,但我不能。 我试着做以下事情

git checkout && git branch - b SPP-69 47127ee98d8247d67f0f2baf3ae316444bc1ea9e
# and got reference is not a tree 47127ee98d8247d67f0f2baf3ae316444bc1ea9e

我试着做下一个

git checkout && git branch - b SPP-69 47127ee98d
# and got 47127ee98d is not a commit and a branch SPP-69 could not be created from it.

enter image description here enter image description here 我没有本地重新登录。

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/43519
 
1563 次点击  
文章 [ 2 ]  |  最新文章 5 年前