Skip to content

Commit

Permalink
Deploying to gh-pages from @ 06e55f8 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
janash committed Apr 9, 2024
1 parent 2d464fe commit d71fb99
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 00-github-standalone.html
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ <h2>Putting your repository on GitHub.<a class="headerlink" href="#putting-your-
<input checked="checked" id="sd-tab-item-1" name="sd-tab-set-1" type="radio">
</input><label class="sd-tab-label" data-sync-id="tabcode-shell" for="sd-tab-item-1">
SHELL</label><div class="sd-tab-content docutils">
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>remote<span class="w"> </span>add<span class="w"> </span>origin<span class="w"> </span>[email protected]:github.com/YOUR_GITHUB_USERNAME/git-lesson.git
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>remote<span class="w"> </span>add<span class="w"> </span>origin<span class="w"> </span>[email protected]:YOUR_GITHUB_USERNAME/git-lesson.git
git<span class="w"> </span>branch<span class="w"> </span>-M<span class="w"> </span>main
git<span class="w"> </span>push<span class="w"> </span>-u<span class="w"> </span>origin<span class="w"> </span>main
</pre></div>
Expand Down
8 changes: 4 additions & 4 deletions 07-collaboration.html
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ <h3>Pull Requests - Branch and Pull Request (PR)<a class="headerlink" href="#pul
<input checked="checked" id="sd-tab-item-0" name="sd-tab-set-0" type="radio">
</input><label class="sd-tab-label" data-sync-id="tabcode-shell" for="sd-tab-item-0">
SHELL</label><div class="sd-tab-content docutils">
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>checkout<span class="w"> </span>-b<span class="w"> </span>collab_instructions
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>switch<span class="w"> </span>-c<span class="w"> </span>collab_instructions
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -765,12 +765,12 @@ <h2>Developing a new feature - creating branches<a class="headerlink" href="#dev
<input checked="checked" id="sd-tab-item-13" name="sd-tab-set-13" type="radio">
</input><label class="sd-tab-label" data-sync-id="tabcode-shell" for="sd-tab-item-13">
SHELL</label><div class="sd-tab-content docutils">
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>checkout<span class="w"> </span>-b<span class="w"> </span>sodium
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>switch<span class="w"> </span>-c<span class="w"> </span>sodium
</pre></div>
</div>
</div>
</div>
<p>This command creates the branch and checks it out (the <code class="docutils literal notranslate"><span class="pre">-b</span></code> stands for <code class="docutils literal notranslate"><span class="pre">branch</span></code>).
<p>This command creates the branch and checks it out.
Alternatively, we could have used the commands <code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">branch</span> <span class="pre">sodium</span></code> and <code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">checkout</span> <span class="pre">sodium</span></code>.
In general, your branch name should describe the feature or changes that you plan to make on the branch.</p>
<p>You will see the output:</p>
Expand Down Expand Up @@ -933,7 +933,7 @@ <h2>Incorporating upstream changes to local<a class="headerlink" href="#incorpor
<input checked="checked" id="sd-tab-item-22" name="sd-tab-set-22" type="radio">
</input><label class="sd-tab-label" data-sync-id="tabcode-shell" for="sd-tab-item-22">
SHELL</label><div class="sd-tab-content docutils">
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>checkout<span class="w"> </span>main
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>switch<span class="w"> </span>main
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _sources/00-github-standalone.md.txt
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 [email protected]:github.com/YOUR_GITHUB_USERNAME/git-lesson.git
git remote add origin [email protected]:YOUR_GITHUB_USERNAME/git-lesson.git
git branch -M main
git push -u origin main
```
Expand Down
8 changes: 4 additions & 4 deletions _sources/07-collaboration.md.txt
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
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit d71fb99

Please sign in to comment.