Browse Source

更新readme

admin 6 years ago
parent
commit
7ad408f2a0
1 changed files with 13 additions and 0 deletions
  1. 13 0
      README.md

+ 13 - 0
README.md

@@ -1,21 +1,34 @@
 命令行指令
 命令行指令
 
 
 Git 全局设置
 Git 全局设置
+
 git config --global user.name "liuhx"
 git config --global user.name "liuhx"
+
 git config --global user.email "liuhx@elab"
 git config --global user.email "liuhx@elab"
 
 
 创建新版本库
 创建新版本库
+
 git clone git@code.aliyun.com:adminRm/test.git
 git clone git@code.aliyun.com:adminRm/test.git
+
 cd test
 cd test
+
 touch README.md
 touch README.md
+
 git add README.md
 git add README.md
+
 git commit -m "add README"
 git commit -m "add README"
+
 git push -u origin master
 git push -u origin master
 
 
 已存在的文件夹或 Git 仓库
 已存在的文件夹或 Git 仓库
+
 cd existing_folder
 cd existing_folder
+
 git init
 git init
+
 git remote add origin git@code.aliyun.com:adminRm/test.git
 git remote add origin git@code.aliyun.com:adminRm/test.git
 git add .
 git add .
+
 git commit
 git commit
+
 git push -u origin master
 git push -u origin master