下载地址: https://git-scm.com/download/win
64-bit Git for Windows Portable(简单版本)
bin 目录: E:gitbin
这个通常是由组长搭建,咱们生成本身公钥给他就好,而后就能够拿到 远程仓库地址
# 生成公钥 ssh-keygen -t rsa -C "邮箱地址" # 输入秘钥密码
git config --global user.name "孔乙己" git config --global user.email "kyj@gmail.com"
注意: 最好邮箱地址一致,用户名是提交代码是备注的用户名
# 将当前项目做为本地仓库 git init # 将当前项目添加到git 缓存中 git add src # 将缓存中的内容提交到git本地仓库 git commit -m "你妹的git" # 将本地仓库和远程仓库关联 git remote add origin https://github.com/aaaa/aaa.git # 将本地仓库中的项目提交到git远程仓库 git push -u origin master
3.这是项目右键就会出现 <font color="lightgreen">git</font> 的选项了html
参考资料: https://www.cnblogs.com/nihao... 感谢 <font color="red"> Nihaorz</font> 的无私分享