Skip to content

Commit

Permalink
Merge pull request #135 from taylor-a-barnes/taylor
Browse files Browse the repository at this point in the history
Fix error in remote url
  • Loading branch information
janash committed Apr 9, 2024
2 parents 51f8316 + c60836d commit 06e55f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _episodes/00-github-standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Now, follow the instructions on GitHub under "...or push an existing repository
````{tab-set-code}
```{code-block} shell
git remote add origin git@github.com:github.com/YOUR_GITHUB_USERNAME/git-lesson.git
git remote add origin git@github.com:YOUR_GITHUB_USERNAME/git-lesson.git
git branch -M main
git push -u origin main
```
Expand Down
8 changes: 4 additions & 4 deletions _episodes/07-collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Create a new branch in your repository to make a small change.
````{tab-set-code}
```{code-block} shell
git checkout -b collab_instructions
git switch -c collab_instructions
```
````

Expand Down Expand Up @@ -305,12 +305,12 @@ This can either be an element that exists (red background), or an element that d
````{tab-set-code}
```{code-block} shell
git checkout -b sodium
git switch -c sodium
```
````


This command creates the branch and checks it out (the `-b` stands for `branch`).
This command creates the branch and checks it out.
Alternatively, we could have used the commands `git branch sodium` and `git checkout sodium`.
In general, your branch name should describe the feature or changes that you plan to make on the branch.

Expand Down Expand Up @@ -492,7 +492,7 @@ First, switch to your main branch.
````{tab-set-code}
```{code-block} shell
git checkout main
git switch main
```
````

Expand Down

0 comments on commit 06e55f8

Please sign in to comment.