1.注册帐号
2.git安装 切记先按装git
Git - Downloading Packagehttps://git-scm.com/downloads/win
出现这个说明按装完成了
3.tortoisegit按装
download.TortoiseGit.org – Index of /tgit/https://download.tortoisegit.org/tgit/按装完成
name 填git个人主页 不要@,@后面的
emial 填git个人邮箱
4.创建仓库
5.克隆仓库 复制https 克隆到本地
6.进行克隆
7.上传代码到码云
8.上传代码
9.选择需要上传的代码即可
10.命令行提交 空白处右击
配置用户名和邮箱
git config --global user.name "xxx"
git config --global user.email "xxx"
配制完成,检查
git config user.name
git config user.email
11.初始化
git init
完成自动生成git文件
12.本地文件夹与gittee远程仓库建立连接
git remote add origin https仓库网址
13.将远程仓库的文件拉到本地仓库中
git pull origin master
13.添加本地文件夹中的文件
全部文件添加
git add .
单个文件添加
git add 文件名
14.提交文件 注释方便后期知道这个的代码的作用
git commit -am "注释"
15.将内容提交到远程仓库
git push origin master