Add README.md
This commit is contained in:
15
README.md
Normal file
15
README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Creating a new repository on the command line
|
||||
```
|
||||
touch README.md
|
||||
git init
|
||||
git checkout -b main
|
||||
git add README.md
|
||||
git commit -m "first commit"
|
||||
git remote add origin https://git.ferix.dev/f/empty.git
|
||||
git push -u origin main
|
||||
```
|
||||
# Pushing an existing repository from the command line
|
||||
```
|
||||
git remote add origin https://git.ferix.dev/f/empty.git
|
||||
git push -u origin main
|
||||
```
|
||||
Reference in New Issue
Block a user