本地项目上传到gitee

在本地项目文件中右击选择 git Bash Here (如果没有下载git 右击是没有出现git Bash Here的,要先下载git)

$ git config --global user.name “你的名字”

$ git config --global user.email “你的邮箱”

1、初始化

$ git init

$ git remote add origin https://gitee.com/xxx/xxx.git (你的远程项目地址)

2、克隆远程项目

$ git clone https://****.git (你的远程项目地址)

3. 提交

$ git pull origin master

$ git add .

$ git commit -m “写你要备注的信息”

$ git push origin master

在这里插入图片描述

成功!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章