Browse Source

first commit

Hongwenjun 11 months ago
commit
f97c2a643d
1 changed files with 16 additions and 0 deletions
  1. 16 0
      README.md

+ 16 - 0
README.md

@@ -0,0 +1,16 @@
+### https://git.lyvba.com/hongwenjun/books
+## 从命令行创建一个新的仓库
+```
+touch README.md
+git init
+git add README.md
+git commit -m "first commit"
+git remote add origin https://git.lyvba.com/hongwenjun/books.git
+git push -u origin master
+```
+
+## 从命令行推送已经创建的仓库
+```
+git remote add origin https://git.lyvba.com/hongwenjun/books.git
+git push -u origin master
+```