Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3de57dd6d3 |
@@ -12,24 +12,4 @@ 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