first commit
This commit is contained in:
commit
7d6c79b570
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
### 从命令行创建一个新的仓库
|
||||
```
|
||||
touch README.md
|
||||
git init
|
||||
git checkout -b main
|
||||
git add README.md
|
||||
git commit -m "first commit"
|
||||
git remote add origin git@git.scarle7.tech:FlandreScarle7/ssh_test.git
|
||||
git push -u origin main
|
||||
```
|
||||
|
||||
### 从命令行推送已经创建的仓库
|
||||
```
|
||||
git remote add origin git@git.scarle7.tech:FlandreScarle7/ssh_test.git
|
||||
git push -u origin main
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user