PC无法从Gitlab找到彼此的分支机构
我在家和办公室(在两台不同的计算机中)工作。 例如,当我在“ Somebranch”中在家工作,然后下一个去办公室尝试获得此“ Brangranch”时,我看不到它。 两台计算机都可以使用连接到GitLab的两个不同的SSH键。
git提取起源某些文化:某些文化 或者 git提取起源 - A
无济于事。 我认为我可以将SSH键从一台计算机复制到另一台计算机,也许会有所帮助。 但是IDK。看起来很奇怪
I work from home, and from office( in two different computers ).
For instance, when i work from home in "someBranch", and next go to office and try to get this "someBranch", i cant see it.
Both computers work with two different ssh keys that connected to gitlab.
git fetch origin somebranch:somebranch
or
git fetch origin -a
dont help.
I think that i can just copy ssh key from one computer to another, and maybe it'll help.
But idk. It looks weird
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否检查了此处建议的内容:
我如何查看遥控器git分支?
(获取远程存储库后,您需要结帐基于原始/某些文献的本地分支,以遵守您的示例。)
Have you checked what's recommended here:
How do I check out a remote Git branch?
(After fetching the remote repo, you need to checkout a local branch based off of origin/someBranch, to stick to your example.)
我只是知道这一切都很好。除了一件事外,我做了适当的事情:吉特拉布(Gitlab)有一个属性,当您合并在“ Master”中时:“您想删除源分支吗?”
默认情况下检查了此框。
I just understood that is all works well. And I was doing everything properly, except one thing: Gitlab has a property that asks you when you merge in "master": "Do you want to delete source branch ?"
And this box was checked by default.