在本地項目文件中右擊選擇 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
成功!