main merge to testing #8
@@ -12,4 +12,24 @@ git config user.name "John Doe"
|
|||||||
git config user.email "john@doe.org"
|
git config user.email "john@doe.org"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Test Commit
|
## Test Commit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Creating a new repository on the command line
|
||||||
|
|
||||||
|
```bash
|
||||||
|
touch README.md
|
||||||
|
git init
|
||||||
|
git checkout -b main
|
||||||
|
git add README.md
|
||||||
|
git commit -m "first commit"
|
||||||
|
git remote add origin https://git.eurobytes.eu/imri/Test.git
|
||||||
|
git push -u origin main
|
||||||
|
```
|
||||||
|
## Pushing an existing repository from the command line
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git remote add origin https://git.eurobytes.eu/imri/Test.git
|
||||||
|
git push -u origin main
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user