亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

github - 使用git同步個人在不同電腦上的代碼問題
迷茫
迷茫 2017-04-22 08:59:07
0
4
743

我想使用一個github帳號,在A機器上編輯代碼后提交,在B機器上更新運行?;蛘連上編輯,A上更新。
我是不是要把私鑰分別在A,B機器上注冊?github端不變動?
求指導。。

迷茫
迷茫

業(yè)精于勤,荒于嬉;行成于思,毀于隨。

reply all(4)
Peter_Zhu

Generate ssh keys on machines A and B respectively, and then add the public keys of A and B to github.

For detailed process, please check the help provided by github: common SSH Problems

小葫蘆

Of course, you can only generate the key pair on A and then copy the private key generated on A to B. The public key only needs to be uploaded once

PHPzhong

It is best to generate two pairs of keys, which is easier to manage.

伊謝爾倫

Sharing a key is neither elegant nor secure.
In fact, you can upload multiple keys. I have encountered this problem before. For specific steps, you can read the first part of my article: Problem-driven Git learning.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template