From 94e65900b70e2e7c3551ae2fdd8489518256a25b Mon Sep 17 00:00:00 2001 From: Imri Paloja Date: Thu, 22 Sep 2022 00:20:40 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8b0e36..67ae53c 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,24 @@ git config user.name "John Doe" git config user.email "john@doe.org" ``` -## Test Commit \ No newline at end of file +## 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 +```