Git
七月晴链
认真,有梦想,温暖
展开
-
git: Permission denied(publickey). fatal:Could not read from remote repository.
git生成ssh的命令ssh-keygen -t rsa -C "your email"如果不设置密码的话,一路回车,使用默认值即可。 但是我敲完这条命令,按回车 出现那句话,Enter file in which to save the key(/c/Users/wk/.ssh/id_rsa): 其实id_rsa就是默认的文件,但是一开始我以为这是默认的路径呢,就输入了一个名字作为文件名。原创 2015-04-01 21:38:34 · 8042 阅读 · 1 评论 -
Git for Ubuntu 12.04.4 LTS
在Ubuntu上安装git,网上查到的命令是sudo apt-get install git 但是我的机子不行,信息如下:Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install'原创 2015-03-24 18:58:32 · 4748 阅读 · 0 评论