本地項目上傳到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

在這裏插入圖片描述

成功!

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