You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
387 B
12 lines
387 B
### 从命令行创建一个新的仓库
|
|
1. touch README.md
|
|
2. git init
|
|
3. git checkout -b main
|
|
4. git add README.md
|
|
5. git commit -m "first commit"
|
|
6. git remote add origin http://git.njrzwl.cn:3000/renzhou/suzhou.git
|
|
7. git push -u origin main
|
|
|
|
### 从命令行推送已经创建的仓库
|
|
1. git remote add origin http://git.njrzwl.cn:3000/renzhou/suzhou.git
|
|
2. git push -u origin main |