commit 7163c06e66026b472fd60a8ad7d3bc2ac54ebb4e Author: Ferix Date: Fri Oct 17 15:49:18 2025 +0300 Add 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