git基本操作

一.验证

git config user.name "xxx"

git config user.email "xxx@yy.com"

 

二.创建,连接

在选择的文件夹中打开git bash

git clone https:xxxxxxxxx

 

连接远程仓库

git remote add origin xxxxxxxxx

 

三.同步,更新

同步

git fetch

 

更新

手动/命令新建文件夹或者文件

git add . 或者相应文件夹/文件

git commit -m "xxx"

git push

git pull不知道怎么用的

 

posted @ 2018-06-24 22:57  Rayint  阅读(97)  评论(0编辑  收藏  举报