From 0125216d96ae996d1e3faa09d94274ec24244ea6 Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Wed, 14 Oct 2026 08:43:19 -0700 Subject: [PATCH] add more aout remote commands --- src/posts/2026/2026-01-07-intro-to-git.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/posts/2026/2026-01-07-intro-to-git.md b/src/posts/2026/2026-01-07-intro-to-git.md index 3f6d3ba4..f032bc57 100644 --- a/src/posts/2026/2026-01-07-intro-to-git.md +++ b/src/posts/2026/2026-01-07-intro-to-git.md @@ -356,14 +356,16 @@ let's head on over to [Codeberg](https://codeberg.org/) First off, we'll make an now we'll make a new project using the `+` in the upper right. Choose 'New repository,' then pick a repository name. You can leave the other settings be. -with the project created, Codeberg will tell us three things we can do: clone the repository, create a new repository, or push an existing repository. We'll push an existing one. +with the project created, Codeberg will tell us three things we can do: clone the repository, create a new repository, or push an existing repository. We'll push an existing one. Codeberg says we can do this: ```sh -git remote add origin https://codeberg.org/inherentlee/testing.git +git remote add origin https://codeberg.org/inherentlee/git-intro.git git push -u origin main ``` -first, we'll add a remote. Across from the project title, we should see a button that says `Code` with a dropdown indicator. It'll offer a few choices, the first two being SSH and HTTPS. I'll talk about SSH in a bit, but let's try HTTPS first. Copy that URL; we're about to use it in a command. +ok, let's break that down. + +first, we'll add a remote. Across from the project title, we should see a button that says `Code` with a dropdown indicator. It'll offer a few choices, the first two being SSH and HTTPS. I'll talk about SSH in a bit, but let's try HTTPS first. Copy that URL; we're about to use it in a command. (You can also directly copy from the instructions we read above, but those won't be available after you've added code to the Codeberg project.) > tip: the remote can be named whatever you want! Traditionally, it's called `origin`, but if it's easier for you to remember, you might call it `codeberg` or maybe `remote`