From e7c57830763cd5840024cab4518e3633e709cf52 Mon Sep 17 00:00:00 2001 From: Darshan Thakkar Date: Fri, 26 Sep 2025 14:34:26 -0400 Subject: [PATCH] Add author name and remotes section --- book.toml | 2 +- src/ch2.3-using-git.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/book.toml b/book.toml index d7c7f3f..ccb5dd7 100644 --- a/book.toml +++ b/book.toml @@ -1,5 +1,5 @@ [book] -authors = ["J. Simon Richard", "Fabio Hinojosa Jimenez", "Vishnu Kalavakuntala", "Mason Clay", "Charlie Strickland", "Meir Manevich"] +authors = ["J. Simon Richard", "Fabio Hinojosa Jimenez", "Vishnu Kalavakuntala", "Mason Clay", "Charlie Strickland", "Meir Manevich", "Darshan Thakkar"] language = "en" multilingual = false src = "src" diff --git a/src/ch2.3-using-git.md b/src/ch2.3-using-git.md index 2eae6c3..f325265 100644 --- a/src/ch2.3-using-git.md +++ b/src/ch2.3-using-git.md @@ -198,7 +198,13 @@ git branch -d user/feature-a First, make sure that you've created your repo through GitHub (see [Section 2.2](./ch2.2-create-github-account.md)). Alternatively, you can create another GitHub repo (with no files) and then add it as a remote to your current repo. -More coming soon... +Use the URL of the blank GitHub repository to set it as the remote destination for your local git-tracked repository: + +`git remote add origin ` + +Now, push your local commits to the main branch on GitHub, setting the upstream tracking reference. + +`git push -u origin main` ### Merging branches and Pull Requests