Git创建本地仓库并与远程仓库建立连接

git init # 初始化本地仓库 git add ./ # 将文件添加到待提交区域 git commit -m “提交信息” # 提交 使用GitHub创建仓库(new Repository) ssh-****** -t rsa -C “[email protected]” # 创建SSH-Key 将本地用户目录(用户目录/.ssh/id_rsa.pub)的ssh公钥添加到GitHub中   
相关文章
相关标签/搜索