Skip to content

Commit

Permalink
Add Existing Repo
Browse files Browse the repository at this point in the history
Add Existing Repo
  • Loading branch information
askdesign committed Aug 29, 2024
1 parent 5d72094 commit a3dcb55
Showing 1 changed file with 71 additions and 1 deletion.
72 changes: 71 additions & 1 deletion intro-wp-blocktheme-design-dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,79 @@ <h5>DEMO</h5>
<li><strong>Add</strong> = Adds an Existing Repo</li>
<li><strong>Clone</strong> = Duplicates an Existing Repo</li>
</ul>
<p><strong>Create a New Repository</strong> is discussed here. </p>
<p><strong>Add Existing Repository</strong> is discussed here. </p>
</section>


<section>
<h3>Github Desktop to Github </h3>
<p>Using Github Desktop, you can add repositories to Github. Go to the upper-left corner of the Github Desktop window and click on the down arrow next to <strong>“Current Repository”.</strong><br>
</p>
<ol style="font-size: 0.6em; line-height: 1.25;">
<li>ADD button > Add Existing Repository<br>
<em><span style="font-size: 0.5em;">NOTE: This is the same as Create New Repo without naming it, reviewed in an earlier slide.</span></em></li>
<ul>
<li>Local path field: click on the “Choose…” button to select the local path</li>
<li>Click on the blue <span style="color:deepskyblue"><strong>“Add Repository” </strong></span>button</li>
<li>Click on the blue <span style="color:deepskyblue"><strong>“Publish repository” </strong></span>button to publish the local repository to Github</li>
</ul>
</ol>

<img src = "assets/imgs/github-desktop-createnew-addlocal.jpg" width="400px" alt="Desktop Add Local">
</section>

<section>
<h3>Github Desktop to Github </h3>
<ol start="2" style="font-size: 0.6em; line-height: 1.25;">
<li>ADD button > Add Existing Repository with prompt to create repository</li>
<ul>
<li>Local path field: click on the “Choose…” button to select the local path</li>
<li>Sometimes, you’ll get an alert: “This directory does not appear to be a Git repository. Would you like to create a repository here instead?” Click on <span style="color:deepskyblue"><strong>create a repository.</strong></span></li>
</ul>
</ol>

<img src = "assets/imgs/github-desktop-existinglocal-createrepo.jpg" width="500px" alt="Desktop Add Local">
</section>
<section>
<h3>Github Desktop to Github </h3>
<div class="flex-container">
<div class="flex-item">
<ol start="2" style="font-size: 0.6em; line-height: 1.25;">
<li>ADD button > Add Existing Repository with prompt to create repository</li>
<ul>
<li>Fill in the fields for: Repository name (required) and Description (optional)</li>
<li>Check the box next to: “Initialize this repository with a README” (unless the project already has a README file)
</li>
<li>Git Ignore = None</li>
<li>License = GNU GPLv3 </li>
<li>Keep the same Local path as in the previous window</li>
<li>Click on the blue <span style="color:deepskyblue"><strong>“Create Repository” </strong></span>button</li>
<li>Click on the blue<span style="color:deepskyblue"><strong>“Publish repository” </strong></span>to publish the local repository to Github</li>
</ul>
</ol></div>
<div class="flex-item">
<img src = "assets/imgs/github-desktop-existinglocal-createnew-repo.jpg" width="500px" alt="Desktop Add Local">
</div></div>
</section>

<!-- PRACTICE -->
<section>
<h2>Let's Develop It!</h2>
</section>

<!-- PRACTICE -->
<section>
<h3>Get Started: </h3>
<h4>Use Github Desktop to Synchronize a Local Repo to Github</h4>
<ul>
<li><span style="color:#29c615"><strong>Add</strong></span> Existing Repo</li>
<li><span style="color:#29c615"><strong>Add</strong></span> Existing Repo with prompt to create repo</li>
</ul>
</section>




<!-- DEMO -->
<section>
<h3>Github Desktop</h3>
Expand Down

0 comments on commit a3dcb55

Please sign in to comment.