【发布时间】:2013-11-21 23:13:45
【问题描述】:
Windows 7 Ultimate,git 版本 1.8.0.msysgit.0
我正在按照以下说明生成 ssh 密钥:https://help.github.com/articles/generating-ssh-keys
$clip < ~/.ssh/id_rsa.pub
# Copies the contents of the id_rsa.pub file to your clipboard
The '<' operator is reserved for future use.
At line:1 char:7
+ clip < <<<< ~/.ssh/id_rsa.pub
+ CategoryInfo : ParserError: (<:OperatorToken) [], ParentContain
sErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported
【问题讨论】:
-
您需要使用“Git bash”而不是命令行或 Powershell 来完成这些命令