update
parent
a89344e3cd
commit
298552c9da
27
README.md
27
README.md
|
@ -1,18 +1,25 @@
|
||||||
1.安装
|
# git基本使用
|
||||||
|
|
||||||
|
## **1.安装**
|
||||||
|
|
||||||
http://git-scm.com/downloads
|
http://git-scm.com/downloads
|
||||||
|
|
||||||
2.登录
|
## 2.登录
|
||||||
git config --global user.name "JiangXiuyu"
|
|
||||||
git config --global user.email "422334010@qq.com"
|
|
||||||
git config --global user.password 123456
|
|
||||||
|
|
||||||
3.查看信息
|
git config --global user.name "JiangXiuyu" /*配置用户名称*/
|
||||||
git cofig --list
|
git config --global user.email "422334010@qq.com" /*配置邮箱*/
|
||||||
|
git config --global user.password 123456 /*配置密码*/
|
||||||
|
|
||||||
4.克隆
|
## 3.查看信息
|
||||||
git clone http://192.168.1.138:2700/JiangXiuyu/test.git
|
|
||||||
|
git config --list /*信息*/
|
||||||
|
|
||||||
|
## 4.克隆
|
||||||
|
|
||||||
|
git clone http://192.168.1.138:2700/JiangXiuyu/test.git /*克隆*/
|
||||||
|
|
||||||
|
## 5.维护
|
||||||
|
|
||||||
5.维护
|
|
||||||
① git add 使用(上传暂存区)
|
① git add 使用(上传暂存区)
|
||||||
②git commit 使用(上传版本库)
|
②git commit 使用(上传版本库)
|
||||||
③push/pull 使用(与平台服务器交互)
|
③push/pull 使用(与平台服务器交互)
|
||||||
|
|
Loading…
Reference in New Issue