Created
November 30, 2011 03:36
-
-
Save bryan-ym/1407883 to your computer and use it in GitHub Desktop.
本地和github初始化的过程
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1.在本机需要安装Git和SSH | |
| 2.在本地使用SSH建立key文件,在C:\Documents and Settings\current_user\.ssh下的id_rsa.pub文件 | |
| 3.生成key的时候,会提示建立passphrase,这个要记住,否则在使用git和github交互的时候会要求输入该通行码 | |
| 4.在Github网站上的account setting/SSH public keys下建立一个新的key,把本地id_rsa.pub文档中的内容拷贝过来,不能有多于的内容,如空格和回车等 | |
| 5.按照github的提示上传本地的已经初始化为Git的项目目录 | |
| 疑问: | |
| 如果在其他地方访问并下载github上的项目,是否可以使用同一个SSH key或文件? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment