检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Visual Studio Visual Studio附带了特定版本的Git for Windows和Git Credential Manager for Windows(GCM)。
表1 Repo支持的Git客户端 客户端名称 操作系统 官方的安装指导链接 Git客户端 Windows系统 Windows Git客户端安装指导 Linux系统 Linux Git客户端安装指导 Mac系统 Mac Git客户端安装指导 TortoiseGit客户端 Windows
表1 安装Git LFS 操作系统 官方的安装指导链接 Windows系统 Windows Git-LFS安装指导 Linux系统 Linux Git-LFS安装指导 MacOS系统 MacOS Git-LFS安装指导 父主题: 环境和个人配置
在Windows中使用密钥对方式进行加密、解密 下载并安装最新的Windows Git客户端,下载最新基于Windows的git-crypt,把下载到的exe文件放到Git安装目录下的“cmd”文件夹中。 执行如下命令,在本地生成密钥对。
删除该本地存储的凭证(以Windows为例“控制面板 > 用户帐户 > 管理Windows凭据 > 普通凭据”),并使用HTTPS方式再次克隆,在弹出的窗口中输入正确的账号和密码。 参考验证HTTPS密码是否生效,验证HTTPS密码是否生效。
Windows: clip < ~/.ssh/id_rsa.pub Mac: pbcopy < ~/.ssh/id_rsa.pub Linux (xclip required): xclip -sel clip < ~/.ssh/id_rsa.pub 登录并进入Repo的代码仓库列表页
解决方案:在Eclipse中,右键选择“Windows > Preferences > Team > Git > Configuration > User Settings”。
Windows: clip < ~/.ssh/id_rsa.pub Mac: pbcopy < ~/.ssh/id_rsa.pub Linux (xclip required): xclip -sel clip < ~/.ssh/id_rsa.pub 登录并进入Repo的代码仓库列表页
Windows: clip < ~/.ssh/id_rsa.pub Mac: pbcopy < ~/.ssh/id_rsa.pub Linux (xclip required): xclip -sel clip < ~/.ssh/id_rsa.pub 登录并进入Repo的代码仓库列表页