From 7163c06e66026b472fd60a8ad7d3bc2ac54ebb4e Mon Sep 17 00:00:00 2001 From: Ferix Date: Fri, 17 Oct 2025 15:49:18 +0300 Subject: [PATCH] Add README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e6e55a --- /dev/null +++ b/README.md @@ -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 +``` \ No newline at end of file