如何结账在git kraken中提交? [英] How to checkout commit in git kraken?

查看:299
本文介绍了如何结账在git kraken中提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用git kraken签出提交似乎是不可能的。



正如你所看到的,没有选项可以检出较旧的提交,只有 Cherrypick commit ,但我不知道这有什么好处。 p>

编辑:我可以通过控制台


现在看起来像gitkraken:

解决方案

GitKraken(截至1.7版本)似乎没有提供进入detac的方法hed HEAD模式,并直接检出提交。同样,它也不允许你签出一个标签(因为这也会给你一个分离的HEAD)。



所以你必须创建一个(临时)首先分支,然后您可以退房。


It seems to be impossible to checkout commits with git kraken.

As you can see there is no option to checkout older commits, only Cherrypick commit but I don't know what this is good for.

EDIT: I was able to checkout with another git program (git bash) via console

Now it looks like this in gitkraken:

解决方案

GitKraken (as of version 1.7) does not seem to offer a way to get into a detached HEAD mode, and check out a commit directly. Similarly, it will also not allow you to check out a tag (since that would also give you a detached HEAD).

So instead, you will have to create a (temporary) branch first which you can then check out.

这篇关于如何结账在git kraken中提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆