使用git 第一次上傳項目到gitee

在本地項目文件中使用bashgit

$ git config --global user.name "你的名字"bash

$ git config --global user.email "你的郵箱"blog

 

1. 初始化  rem

$ git initit

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

2.克隆一下email

$ git clone https://****.git (你的遠程項目地址)im

3. 提交項目

$ git pull origin masterimg

$ git add .

$ git commit -m "你的第一次提交"

$ git push origin master

完成了第一次提交

相關文章
相關標籤/搜索