1.桌面点击右键 -- git bash
2.注册gitee并且新建仓库
百度 打开 码云
新建远程仓库:
右上角 + ,新建仓库
3.克隆 远程仓库到本地
桌面新建文件夹,文件夹内 右键 git bash
git clone '远程仓库地址'
例如: git clone https:// gitee.com/course/asdv.git
4.本地到远程
1.git add 将本地的暂存
2.git commit -m "描述信息"
git config --glodal user.email "你的邮箱"
git config --global user.name "你的名字"
3.git push
5.vscode 使用git
在使用为vscode是点击菜单的三个小点点击推送即可推送给你的项目人员
也可以
在桌面新建一个文件夹然后右键git Bash 黑窗口里面输入git clone "项目地址"项目文件就可以看到 可以随意传递文件
6.gitignore 了解这个文件
7.公钥私钥