<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kymiddleton</title>
    <description>The latest articles on DEV Community by kymiddleton (@kymiddleton).</description>
    <link>https://dev.to/kymiddleton</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F98352%2F9413a30a-3508-431d-8455-4bd6abfd5653.jpg</url>
      <title>DEV Community: kymiddleton</title>
      <link>https://dev.to/kymiddleton</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kymiddleton"/>
    <language>en</language>
    <item>
      <title>Reference Guide: Complete and Merge a Pull Request</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Wed, 26 Dec 2018 21:38:14 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4</link>
      <guid>https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4</guid>
      <description>&lt;p&gt;In my previous post, &lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Reference Guide: Conducting a Code Review&lt;/a&gt;, detailed steps were outlined for the code review process. Once the code review is completed it’s time to complete the process and make comments, approve the reviewed changes or request changes to be made before it can be approved.  This is where any identified issues need to be noted. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To complete the pull request review:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8csxr2pk26wgde2nvnz3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8csxr2pk26wgde2nvnz3.jpeg" alt="Review Changes" width="800" height="61"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select green button &lt;code&gt;Review changes&lt;/code&gt; to finalize the pull request&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A pop-up box will appear with options to &lt;code&gt;Comment&lt;/code&gt;, &lt;code&gt;Approve&lt;/code&gt;, or &lt;code&gt;Request changes&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The code review process is very important.  If something needs to be changed or modified simply provide descriptive comments and select &lt;code&gt;Request changes&lt;/code&gt;.  This will send a notification back to the contributor.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the appropriate action: &lt;code&gt;Comment&lt;/code&gt;, &lt;code&gt;Approve&lt;/code&gt;, or &lt;code&gt;Request changes&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Submit review&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once submitted, you’ll be taken back to the &lt;code&gt;Pull request&lt;/code&gt; page.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Merging a pull request:&lt;/strong&gt;&lt;br&gt;
Provided everything on this page is &lt;code&gt;green&lt;/code&gt;, the changes are ready to be merged. &lt;/p&gt;

&lt;p&gt;Select &lt;code&gt;Merge pull request&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7kvhjp1iu9iwoxxyubsp.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7kvhjp1iu9iwoxxyubsp.jpeg" alt="Merge Pull Request" width="800" height="314"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select &lt;code&gt;Confirm merge&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl09sd666w8tg8bkvqchk.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl09sd666w8tg8bkvqchk.jpeg" alt="Confirm Merge" width="800" height="217"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once this has been selected the files will be merged and the icon under the pull request will switch from a &lt;code&gt;green&lt;/code&gt; icon that states &lt;code&gt;Open&lt;/code&gt; to a &lt;code&gt;purple&lt;/code&gt; icon that states &lt;code&gt;Merged&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj7joh3iw2rhsmibrx5n.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj7joh3iw2rhsmibrx5n.jpeg" alt="Merged" width="800" height="113"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Only a couple more steps!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Return to the terminal and complete the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;git checkout master&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git pull&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These additional steps will pull changes from the master and update the local copy. It’s always best to make sure collaborators are working from current files. &lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Conducting a Code Review</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Wed, 26 Dec 2018 21:35:42 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m</link>
      <guid>https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m</guid>
      <description>&lt;p&gt;Code review is the process of reviewing and approving code changes for collaborators, someone other than the author of the pushed changes. It's basically code inspections conducted by peers working on the same project with a protected master branch. For more details on the code review process and benefits check out my post &lt;a href="https://dev.to/kymiddleton/what-is-a-code-review-4gpa"&gt;here&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;When a notification has been received to review changes, go into GitHub and access the project repository. &lt;/p&gt;

&lt;p&gt;Select the &lt;code&gt;Pull requests&lt;/code&gt; tab.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A number next the &lt;code&gt;Pull requests&lt;/code&gt; tab indicates the number of requests pending review.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi4c8kb93z7wtk2d68uo1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi4c8kb93z7wtk2d68uo1.jpeg" alt="Pull Request" width="800" height="74"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select the &lt;code&gt;Pull requests&lt;/code&gt; from the listed items.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3341ovk02aacprlm6l7d.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3341ovk02aacprlm6l7d.jpeg" alt="Pull Request" width="800" height="122"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once the &lt;code&gt;Pull requests&lt;/code&gt; has been selected a new page will display several details:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Number of commits to be merged&lt;/li&gt;
&lt;li&gt;Number of files changed&lt;/li&gt;
&lt;li&gt;Contributors branch name&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before continuing in GitHub, make note of the contributors &lt;code&gt;branch name&lt;/code&gt; and return to the terminal.  Once inside the projects root directory:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;git fetch origin &amp;lt;branch name&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git checkout &amp;lt;branch name&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From here, run the application to identify any potential issues. &lt;/p&gt;

&lt;p&gt;Go back to GitHub to review the code changes in the pull request.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the &lt;code&gt;Commits&lt;/code&gt; tab or the &lt;code&gt;Files changed&lt;/code&gt; tab&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fecbev0vgqg9qwrmf42dr.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fecbev0vgqg9qwrmf42dr.jpeg" alt="PR Commits" width="800" height="109"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;Commits&lt;/code&gt; tab&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This tab displays the history of the commits submitted for the specified pull request&lt;/li&gt;
&lt;li&gt;Each &lt;code&gt;commit&lt;/code&gt; can be selected to review the progression of changes made&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;Files changed&lt;/code&gt; tab&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This tab provides a side by side comparison of the file changes.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;New&lt;/code&gt; changes are on the right-hand side highlighted in &lt;code&gt;green&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;On the left-hand side, &lt;code&gt;old&lt;/code&gt; changes are highlighted in &lt;code&gt;red&lt;/code&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The next step of the process will be to complete the pull request review.  That process will provide the opportunity to make comments, approve the reviewed changes or request changes to be made before it can be approved.  Therefore, if any issues were identified when the application was checked out and run locally be sure to make notes of the specific issues identified.  If there is something noticeable when looking at the side by side view in the &lt;code&gt;Files changed&lt;/code&gt; tab also be sure to mention specifics in the next step of the process &lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Complete and Merge a Pull Request&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>What is a code review?</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Wed, 26 Dec 2018 21:29:02 +0000</pubDate>
      <link>https://dev.to/kymiddleton/what-is-a-code-review-4gpa</link>
      <guid>https://dev.to/kymiddleton/what-is-a-code-review-4gpa</guid>
      <description>&lt;p&gt;Have you ever worked on a project and became so hyper focused the world around you could fall apart and you wouldn't notice?  I love those moments and as a new web developer it's when I feel everything coming together and I make a significant amount of progress on a project or a piece of functionality.  The downside is of course when something breaks or just doesn't work the way its intended and despite my best efforts of concentration my eyes can no longer decipher the difference between a comma and a period.  That's when code review come into play!&lt;/p&gt;

&lt;p&gt;Code review is the process of reviewing and approving code changes for collaborators, someone other than the author of the pushed changes.  It's basically code inspections conducted by peers working on the same project with a protected &lt;code&gt;master&lt;/code&gt; branch. &lt;/p&gt;

&lt;p&gt;Code review &lt;em&gt;needs&lt;/em&gt; to be taken seriously.  Don't treated it like it's depicted in this cartoon! &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdwzkrazovjgtn65oz90.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdwzkrazovjgtn65oz90.png" alt="Code Review" width="800" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are tremendous benefits of code reviews. For one, code reviews save time and help to streamline the development process up front.  Ultimately the upfront time saved reduces the amount of work for the Quality Assurance teams later.  A second set of eyes to review something you've stared at for days can quickly identify simple errors and even catch bugs that might have slipped undetected through testing or production.  We all know time is money and time saved is money saved too.  &lt;/p&gt;

&lt;p&gt;In my opinion the code review process also fosters collaboration. The more I collaborate with others the more I learn too.  To me, it's fascinating to watch someone code, troubleshoot and do a code review.  It provides an opportunity to witness someone else's approach to coding and their thought process.  It's a priceless opportunity for anyone to learn ways to identify common problems or write cleaner code along with useful shortcuts. &lt;/p&gt;

&lt;p&gt;For more information checkout the posts in my Reference Guide series:  &lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Conducting a Code Review&lt;/a&gt; and &lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Complete and Merge a Pull Request&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Pull Requests</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Sat, 22 Dec 2018 03:25:15 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-pull-requests-5an9</link>
      <guid>https://dev.to/kymiddleton/reference-guide-pull-requests-5an9</guid>
      <description>&lt;p&gt;The next part of my series addresses 'Pull Request'. A Shared Repository Model allows organizations and teams to collaborate by sharing a single repository with branches used to develop features and isolate changes. A 'pull request' provides a way to notify project maintainers about changes made and initiates the code review process. &lt;/p&gt;

&lt;p&gt;For anyone new to code collaboration set yourself up for success and use a reference guide to help walk you through the steps like the ones outlined below. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATE A PULL REQUEST TO MASTER BRANCH&lt;/strong&gt;&lt;br&gt;
Once items are production ready a &lt;code&gt;pull request&lt;/code&gt; needs to be completed to merge the changes into the &lt;code&gt;master branch&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pull Request to unprotected &lt;code&gt;master&lt;/code&gt; branch:&lt;/strong&gt;&lt;br&gt;
Access the repository in GitHub.  Recently pushed changes should appear in a highlighted section on the main page of the repository with a green button &lt;code&gt;compare and pull request&lt;/code&gt; on the right-hand side of the highlighted section. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;compare and pull request&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;merge pull request&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pull Request to protected &lt;code&gt;master&lt;/code&gt; branch:&lt;/strong&gt;&lt;br&gt;
In a group environment with collaborators working within a repository with a protected &lt;code&gt;master&lt;/code&gt; branch do the following: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go into GitHub and select the project repository&lt;/li&gt;
&lt;li&gt;Locate the highlighted section indicating the most recent &lt;code&gt;pushed changes&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxu20g9gjzo60p82l6cng.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxu20g9gjzo60p82l6cng.jpeg" alt="protected branch pull request" width="800" height="114"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;compare and pull request&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select a &lt;code&gt;Reviewer&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;This will be one of the contributors added to the initial project&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Select &lt;code&gt;Create pull request&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;This step will create the pull request and indicate a review is required and merging is blocked until a review has been completed. &lt;/li&gt;
&lt;li&gt;At this point, GitHub will send an email request to the selected reviewer to notify them of a pending review.  To speed up the process it’s best to send a direct message to the selected contributor to notify them the request has been made.
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;If you missed a previous post you can check them out here: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Up next:&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Conducting a Code Review&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Merge conflicts</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Sat, 22 Dec 2018 02:49:56 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op</link>
      <guid>https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op</guid>
      <description>&lt;p&gt;Welcome back to the Reference Guide series.  &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Merging&lt;/em&gt; is the act of integrating code changes from another branch into a working branch.  With 'Git', there are times when competing changes cannot be resolved without intervention.  Conflicts can occur when someone edits a file and someone else deletes the same file, or, when changes are made to the same line of the same file.  &lt;/p&gt;

&lt;p&gt;Merge conflicts can be a bit intimidating at first but rest assured they won't be for long.  After a little practice, you'll be a pro in no time. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RESOLVE MERGE CONFLICTS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once changes have been pushed to the branch name it’s a good practice to follow a few more steps to resolve potential conflicts before making a &lt;code&gt;pull request&lt;/code&gt; in GitHub. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git pull origin master&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;This command updates the local branch to match the master branch. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2hij1bmps1o7fk4yvr52.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2hij1bmps1o7fk4yvr52.jpeg" alt="git pull" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open a code editor of choice to review changes or conflicts. Generally, &lt;code&gt;current&lt;/code&gt; changes will be highlighted in one color and &lt;code&gt;incoming&lt;/code&gt; changes will be highlighted in a different color.  Accept the &lt;code&gt;current&lt;/code&gt; or &lt;code&gt;incoming&lt;/code&gt; changes.  Once completed run the following commands: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git add –A&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git commit –m “add comment description of changes made”&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git push origin &amp;lt;name of branch&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Up next: &lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Pull Requests&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Committing Changes with Branches</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Sat, 15 Dec 2018 14:52:31 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d</link>
      <guid>https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d</guid>
      <description>&lt;p&gt;When I first started working with branches I could never remember which branch I was on when it came time to commit changes.  My go-to command quickly became &lt;code&gt;git branch&lt;/code&gt;.  &lt;/p&gt;

&lt;p&gt;If you missed part of the series:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;COMMITTING CHANGES WITH BRANCHES&lt;/strong&gt;&lt;br&gt;
It’s best to think of the &lt;code&gt;master&lt;/code&gt; branch as production.  Therefore, it’s best to never push to the master branch.  When using branches remember they run parallel to the master.  As soon as a new project is created get into the habit of creating a new branch before making file changes.  It’s also best to create a new branch for each design feature. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Branch commands:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git branch&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Displays branches within current project including the master branch.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0daejbo43bylvofm44zh.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0daejbo43bylvofm44zh.jpeg" alt="git branch" width="800" height="106"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git checkout &amp;lt;branch name&amp;gt;&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Used to switch to a different branch. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Make a new branch:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git checkout –b &amp;lt;name of new branch&amp;gt;&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Checkout&lt;/code&gt; is similar to the homepage of a website by indicating a switch from the homepage or &lt;code&gt;master&lt;/code&gt; branch to an alternate page view or &lt;code&gt;branch&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;-b&lt;/code&gt; initiates a new branch to be created. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyklt3vk7cp8vd8b7p437.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyklt3vk7cp8vd8b7p437.jpeg" alt="git checkout b" width="800" height="92"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When code is ready to be committed to a branch use the following commands: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;
*Items that appear in red indicate the files and subsequent changes are not being tracked. These files need to be staged and submitted. &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git add –A&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;This command initiates changes being tracked and the &lt;code&gt;A&lt;/code&gt; indicates &lt;code&gt;all&lt;/code&gt; files.  This also transitions the code to be staged. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Repeating this command will show the files previously highlighted in &lt;code&gt;red&lt;/code&gt; have switched to &lt;code&gt;green&lt;/code&gt; indicating changes have been tracked, saved and ready to push to the repository.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git commit –m “add comment description of changes made”&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Staged code is now saved locally with a note to others about the code.  Makes commit messages descriptive and meaningful. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Repeat command to verify all changes have been staged and ready to push to the repository. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git push origin &amp;lt;name of branch&amp;gt;&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Saved changes are pushed to the named branch. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Up next: &lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Handling Merge Conflicts&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Committing Changes</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Thu, 06 Dec 2018 01:38:07 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-committing-changes-43el</link>
      <guid>https://dev.to/kymiddleton/reference-guide-committing-changes-43el</guid>
      <description>&lt;p&gt;Welcome back for part three of my reference guide series. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go here for &lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;Go here for &lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;COMMITTING CHANGES&lt;/strong&gt;&lt;br&gt;
When building a new application, a best practice for web development is to code a few lines, test a few lines, then &lt;code&gt;commit&lt;/code&gt; changes.  The &lt;code&gt;commit&lt;/code&gt; process is the equivalent of saving changes to a document by clicking the &lt;code&gt;save&lt;/code&gt; icon. &lt;/p&gt;

&lt;p&gt;To &lt;code&gt;commit&lt;/code&gt; file changes start by entering the following commands in the terminal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Items that appear in red indicate the files and subsequent changes are not being tracked. These files need to be staged and submitted. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjj7f14qfrtqaxit9v1t1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjj7f14qfrtqaxit9v1t1.jpeg" alt="git status" width="800" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git add –A&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;This command initiates changes being tracked and the &lt;code&gt;A&lt;/code&gt; indicates &lt;code&gt;all&lt;/code&gt; files.  This also transitions the code to be staged. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Repeating this command will show the files previously highlighted in &lt;code&gt;red&lt;/code&gt; have switched to &lt;code&gt;green&lt;/code&gt; indicating changes have been tracked, saved and ready to push to the repository.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8k4p057tv8p4oc2hh19.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8k4p057tv8p4oc2hh19.jpeg" alt="git add" width="800" height="147"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git commit –m “add comment description of changes made”&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Staged code is now saved locally with a note to others about the code.  Makes commit messages descriptive and meaningful. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Repeat command to verify all changes have been staged and ready to push to the repository. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;
&lt;code&gt;git push origin master&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;Pushing to the master branch is something that should be limited to the first commit of a project repository.&lt;/li&gt;
&lt;li&gt;Repositories with multiple collaborators should always have the master branch protected with changes being pushed to a branch then pulled into the master by creating a pull request. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Up next: &lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Committing changes with branches&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Create a GitHub Repository</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Tue, 04 Dec 2018 21:21:34 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8</link>
      <guid>https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8</guid>
      <description>&lt;p&gt;Welcome to part two of my reference guide series! &lt;br&gt;
Go here for &lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt; is a web-based hosting service for version control using Git. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To create a repository go to GitHub:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At the top right corner of the webpage click the &lt;code&gt;+&lt;/code&gt; sign and select &lt;code&gt;New Repository&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Enter a name for the repository in the provided field.  Use dashes instead of spaces. &lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Initialize This Repository with a README file&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click the arrow on &lt;code&gt;Add .gitignore&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;There are some files that GitHub needs to ignore when files are pushed to the repository.  For example:  When working with Node.js, select &lt;code&gt;Node&lt;/code&gt; from the list.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F2t34d12rln5emyn0g7md.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F2t34d12rln5emyn0g7md.jpeg" alt="gitignore"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;Create repository&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How to Protect the Master Branch:&lt;/strong&gt;&lt;br&gt;
From GitHub:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the &lt;code&gt;Settings&lt;/code&gt; tab&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F1f5m4vw85fuvqdtsculn.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F1f5m4vw85fuvqdtsculn.jpeg" alt="settings"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;From the &lt;code&gt;Options&lt;/code&gt; menu on the left-hand side select &lt;code&gt;Branches&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select the &lt;code&gt;Add rule&lt;/code&gt; box at the right-hand side of &lt;code&gt;Branch protection rules&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fjsb8q623enodkg1gb87l.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fjsb8q623enodkg1gb87l.jpeg" alt="branch protection"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At the top of the screen there will be a prompt to enter the branch name.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Apply rule to &lt;code&gt;Master&lt;/code&gt; or branch name&lt;/li&gt;
&lt;li&gt;Select the &lt;code&gt;Require pull request reviews before merging&lt;/code&gt; &lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Include administrators&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Create&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Save changes&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F4efc7p04a61uv2mj6m7i.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F4efc7p04a61uv2mj6m7i.jpeg" alt="rule settings"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clone the Repository:&lt;/strong&gt;&lt;br&gt;
In GitHub:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To clone the repository, select &lt;code&gt;clone&lt;/code&gt; to copy the link&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the Terminal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go into &lt;code&gt;Terminal&lt;/code&gt; and use the command &lt;code&gt;cd&lt;/code&gt; to move into the folder where the repository will be stored and accessed.
&lt;/li&gt;
&lt;li&gt;Once inside the file, or root directory, where the project will be stored enter the following commands. &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git clone &amp;lt;paste copied link from GitHub&amp;gt;&lt;/code&gt;

&lt;ul&gt;
&lt;li&gt;This step creates a link between the local files and the repository files. &lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Stay tuned for &lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;part three:&lt;/a&gt; Committing Changes. &lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Reference Guide: Common Commands for Terminal</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Tue, 04 Dec 2018 21:14:19 +0000</pubDate>
      <link>https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no</link>
      <guid>https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no</guid>
      <description>&lt;p&gt;Have you ever walked out of a room and then couldn't remember what you started to do? Have you ever convinced yourself a trip to the grocery store can be accomplished without a list only to arrive home &lt;em&gt;without&lt;/em&gt; the one single item that was most needed? It happens to me, more than I'd like to admit, and I'm fairly certain I'm not alone.  Throughout my career, I've developed a strategy to set myself up for success when moments of brain overload strike.  &lt;/p&gt;

&lt;p&gt;There are certain job responsibilities or steps of a process that are difficult to remember when performed on an infrequent basis or when learning them for the first time.  This is where a quick reference list or guide can be a lifesaver.  As a newbie to web development there are numerous steps to remember and until they've been committed to memory reference materials are my go-to. In case someone else is in need too I wanted to share the steps I've created for a few common processes needed as a new web developer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Terminal:&lt;/strong&gt; &lt;br&gt;
The &lt;code&gt;Terminal&lt;/code&gt; program is built-in on Mac computers and uses text commands to operate the computer without using the user interface.  Terminal commands for GitHub will all begin with the prefix &lt;code&gt;git&lt;/code&gt; followed by the command. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46j5kmc28mwr22o3ogi5.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46j5kmc28mwr22o3ogi5.jpeg" alt="Terminal" width="800" height="184"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common Commands:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;~&lt;/code&gt;              Indicates the home directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;pwd&lt;/code&gt;            Print working directory (pwd) displays the path name of the current directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cd&lt;/code&gt;          Change Directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mkdir&lt;/code&gt;  Make a new directory / file folder&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;touch&lt;/code&gt;  Make a new file&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;..&lt;/code&gt;         Go up one level / directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cd ~&lt;/code&gt;   Return to home directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;clear&lt;/code&gt;  Clears information on the display screen to provide a blank slate&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ls&lt;/code&gt;         List provides a list of all files with a directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ls -l&lt;/code&gt;  Displays a long list vertically with file permissions, date modified and file name&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ls -la&lt;/code&gt;      Displays all files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Auto Complete File Names:&lt;/strong&gt;&lt;br&gt;
Enter the first couple of lines of the file name followed by the &lt;code&gt;tab&lt;/code&gt; key and it will auto complete the rest of the file path name. &lt;/p&gt;

&lt;p&gt;Next up: &lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part 2&lt;/a&gt; Create a GitHub Repository&lt;/p&gt;

&lt;p&gt;For the completed Reference Guide Series: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-common-commands-for-terminal-6no"&gt;Part One:&lt;/a&gt; Reference Guide: Common Commands for Terminal. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-create-a-github-repository-30f8"&gt;Part two:&lt;/a&gt; Create a GitHub Repository&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-43el"&gt;Part three:&lt;/a&gt; Committing Changes&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-committing-changes-with-branches-2f8d"&gt;Part four:&lt;/a&gt; Committing Changes with Branches
-&lt;a href="https://dev.to/kymiddleton/reference-guide-merge-conflicts-6op"&gt;Part five:&lt;/a&gt; Merge Conflicts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-pull-requests-5an9"&gt;Part six:&lt;/a&gt; Pull Requests&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/kymiddleton/reference-guide-conducting-a-code-review-k6m"&gt;Part seven:&lt;/a&gt; Conducting a Code Review
-&lt;a href="https://dev.to/kymiddleton/reference-guide-complete-and-merge-a-pull-request--12n4"&gt;Part eight:&lt;/a&gt; Complete and Merge a Pull Request&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Check your Nodes?</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Fri, 30 Nov 2018 23:18:08 +0000</pubDate>
      <link>https://dev.to/kymiddleton/check-your-nodes-2epn</link>
      <guid>https://dev.to/kymiddleton/check-your-nodes-2epn</guid>
      <description>&lt;p&gt;&lt;strong&gt;Node.js&lt;/strong&gt; is an open-source, cross-platform JavaScript runtime environment designed to let JavaScript run outside of the browser or webpage.  It’s a general utility that can be used for a variety of purposes including asset compilation, scripting, monitoring, creating desktop applications, and most notably as the basis for web servers.  JavaScript can be used for the server side since Node reuses JavaScript.  This means a front-end developer can build an entire server themselves.  Other benefits of node:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Numerous plugins are available which easily expands its capabilities. &lt;/li&gt;
&lt;li&gt;Creating an entire working server can be accomplished with few lines of code which allows for faster implementations. &lt;/li&gt;
&lt;li&gt;The single-threaded asynchronous model allows handling of multiples requests simultaneously without bottlenecks or slowed performance. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;SETTING UP A NODE PROJECT&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;QUICK REFERENCE GUIDE&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open Favorite Code Editor&lt;/li&gt;
&lt;li&gt;Open Command Line within Code Editor
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;`mkdir &amp;lt;projectName&amp;gt;`&lt;/span&gt;
&lt;span class="s2"&gt;`cd &amp;lt;projectName&amp;gt;`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;Install the Node Packages in the root directory of the project folder using the following command:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;`npm init`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This step will initialize the folder and create the &lt;code&gt;package.json&lt;/code&gt; file. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once the installation has completed the program will prompt a series of questions to gather contextual information about the project such the project name , copyright, version, description, entry point file name, author, etc. &lt;/li&gt;
&lt;li&gt;Completion of the fields is not required and can be skipped by using the &lt;code&gt;enter&lt;/code&gt; key.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When prompted with &lt;code&gt;Is this okay? (yes)&lt;/code&gt; respond by entering &lt;code&gt;yes&lt;/code&gt; followed by the &lt;code&gt;enter&lt;/code&gt; key. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Look inside the  folder for the &lt;code&gt;package.json&lt;/code&gt; file.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open the file to review and familiarize contents.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The syntax of the JSON folder is a JavaScript object. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next, run the following command in the same directory of the root folder:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;`npm install express`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This will create the &lt;code&gt;node_modules&lt;/code&gt; subfolder.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;node_modules&lt;/code&gt; file holds all the modules for the particular project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go back and look inside the &lt;code&gt;package.json&lt;/code&gt; file&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A new object will appear, &lt;code&gt;dependencies&lt;/code&gt;, which should have &lt;code&gt;Express&lt;/code&gt; listed.&lt;/li&gt;
&lt;li&gt;Any new dependencies will be added to the &lt;code&gt;package.json&lt;/code&gt; file. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Steps to Take for Existing Projects:&lt;/strong&gt;&lt;br&gt;
When working on an existing project that already contains a &lt;code&gt;package.json&lt;/code&gt; file run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;`npm install`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will evaluate the contents of the &lt;code&gt;package.json&lt;/code&gt; file and install additional packages if needed. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Steps to Take when Receiving an Existing Project:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;`npm install`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will evaluate the contents of the &lt;code&gt;package.json&lt;/code&gt; file and install additional packages if needed. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do NOT Share the Node Modules Folder&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is a critical step to remember especially when collaborating on projects.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Node Module folders must &lt;strong&gt;NOT&lt;/strong&gt; be shared, ever.
&lt;/li&gt;
&lt;li&gt;When the &lt;code&gt;npm install&lt;/code&gt; command runs it compiles files based on the needs of the specific computer.
&lt;/li&gt;
&lt;li&gt;When collaborating or sharing project files, other contributors will need to install the command &lt;code&gt;npm install&lt;/code&gt; in the root directory of the project folder on THEIR computer. &lt;/li&gt;
&lt;li&gt;Remember the &lt;code&gt;npm install&lt;/code&gt; command without a package name evaluates the existing dependencies within the &lt;code&gt;package.json&lt;/code&gt; file and installs needed dependencies. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With so many little steps to remember when building a full stack application I hope this guide becomes a helpful tool for others too. &lt;/p&gt;

</description>
      <category>node</category>
      <category>beginners</category>
      <category>npm</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Change is GREAT. I’ll go first!</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Thu, 29 Nov 2018 14:28:40 +0000</pubDate>
      <link>https://dev.to/kymiddleton/change-is-great-ill-go-first--11jm</link>
      <guid>https://dev.to/kymiddleton/change-is-great-ill-go-first--11jm</guid>
      <description>&lt;p&gt;Part 2:  A model for Change Management: ADKAR&lt;/p&gt;

&lt;p&gt;If you missed part one of this post you can check it out &lt;a href="https://dev.to/kymiddleton/change-is-good-you-go-first--186p"&gt;here&lt;/a&gt;.  &lt;/p&gt;

&lt;p&gt;When faced with a challenge, regardless of size, the first step is to devise a plan of action.  An often-overlooked component of action planning is assessing five critical factors: Awareness, Desire, Knowledge, Ability and Reinforcement. Together these elements are the Prosci Change Management model, referred to as the ADKAR model.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Awareness&lt;/strong&gt; is a great starting point since it’s important to be aware of a situation and changes that need to be made or understand the consequences of not making changes.  Assessing internal and external factors are also important.  Internal factors refer to an inward, emotional, state such as an environment or career field with positive feelings which are energizing or negative feelings such as making someone feel angst. External factors refer to situations such as income needs being met but lacking job satisfaction. Or perhaps the income and job satisfaction is positive but a shorter commute would be a welcomed change.  These are all elements of awareness.  &lt;/p&gt;

&lt;p&gt;The next step is &lt;strong&gt;Desire&lt;/strong&gt;.  According to the dictionary desire refers to strong feelings of wishing for something to happen or wanting to have something.  Strong feelings of desire for a precise outcome are a driving factor for someone to put forth the effort and energy to learn something new or make significant changes.  Ultimately it comes down to personal choice and individual motivation.  &lt;/p&gt;

&lt;p&gt;Having awareness and desire seems simple enough, right?  Have you ever been nagged?  Or have you nagged someone to complete a task that could have been completed in two minutes yet it took two days of reminders before any action was taken?  Nagging is simply reminding someone to do something that’s already aware of what needs to be done.  In other words, nagging isn’t going to make someone more aware.  Unless someone has a &lt;em&gt;desire&lt;/em&gt; to do something, all the awareness in the world won’t make a difference.  It basically boils down to motivation and having a desire to do what’s necessary to complete a task or make a goal a reality. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyuaaldqhygknnctudnp6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyuaaldqhygknnctudnp6.jpg" alt="Yoda" width="620" height="351"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Knowledge&lt;/strong&gt;, the third piece of this model, is the information, facts and skills acquired to understand a subject.  Let’s say a web developer is proposing the need for a new position within their team.  Part of their action plan includes detailed tasks for the new position along with a list of desired qualifications.  After discussing the role with a peer a gap in skills is identified and added to the initial proposal.  Regardless of a position or task at hand it’s important to assess the tools or systems needed along with the necessary knowledge needed for someone to be successful. &lt;/p&gt;

&lt;p&gt;The next step is &lt;strong&gt;Ability&lt;/strong&gt; which comes down to taking acquired knowledge or skills and applying them to a given situation.  A great way to think of this is the difference between theory and practical application.  Just because someone has the knowledge of a brain surgeon doesn’t mean they actually know how to perform a surgery.  Knowing how to utilize acquired knowledge depends on someone’s ability to turn their knowledge into action.  &lt;/p&gt;

&lt;p&gt;The final step is &lt;strong&gt;Reinforcement&lt;/strong&gt;.   As with any situation in life that involves making changes, from simple behavior changes, healthy eating habits, resolutions to exercise more, or learning how to code is all wasted without reinforcement to sustain the change.  Having the awareness to learn a new job skill for career growth is great.  Having the desire to learn the new skill and motivation to take classes is awesome.  Taking the training course to have a solid foundation of knowledge and the ability to take the knowledge and apply it by completing coding challenges or building web applications is stellar.  Once a coding course is completed what steps will be taken to keep those skills fresh?  To keep the change going it comes back to the internal and external factors that provided the initial motivation to make the change.  Reinforcement is critical for tying these pieces together when it comes to making changes. &lt;/p&gt;

&lt;p&gt;Just remember, nagging someone to do something isn’t going to make them more aware unless there’s a personal desire to change.  Knowing someone has experience with computer programming in JavaScript and expecting them to fill a vacancy in C# without conducting a gap assessment of skills and ability or providing a training plan is setting someone up for failure.  Just as training someone to learn a new programming language is wasted if there’s no plan to reinforce the newly acquired skills.  Skills are like muscles that need to be used regularly or they get weak.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmemegenerator.net%2Fimg%2Finstances%2F64064298.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmemegenerator.net%2Fimg%2Finstances%2F64064298.jpg" alt="Yoda" width="" height=""&gt;&lt;/a&gt;&lt;br&gt;
Regardless of the type of change being made, continue to evaluate each of these components on a regular basis. Everyone learns at a different pace, has a different learning style, and that’s okay.  Everyone processes and handles change differently and that’s also okay.  It’s natural as humans to resist change - but change is possible with an action plan.  &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>codenewbie</category>
      <category>career</category>
    </item>
    <item>
      <title>Change is good. You go first.</title>
      <dc:creator>kymiddleton</dc:creator>
      <pubDate>Thu, 29 Nov 2018 06:37:01 +0000</pubDate>
      <link>https://dev.to/kymiddleton/change-is-good-you-go-first--186p</link>
      <guid>https://dev.to/kymiddleton/change-is-good-you-go-first--186p</guid>
      <description>&lt;p&gt;As a boot camp student, it’s been a bit surreal to sit in a classroom again.  From what I’ve learned so far, if someone is contemplating a career in web development but doesn’t enjoy the intricacies of problem solving, or sorting through copious lines of code to discover that the malfunction is related to a typo, then web development is probably not the best career choice.  In some ways web development is like untangling and enormous pile of jumbled-knotted rope.  For some people, they’d take one look at the gigantic mess and either panic or walk away.  For others, the appeal of a puzzle is exciting and the act of chasing down individual strands of rope to find the first end is satisfying. &lt;/p&gt;

&lt;p&gt;In a traditional learning environment, a specific subject builds mastery over a defined period. A boot camp environment builds a broad knowledge base in a fast-paced learning environment.  Simply saying the word ‘boot camp’ evokes images of military themed movies with a drill sergeant and new recruits where the intensity of the training is visible.  The environment for a web development boot camp is similar in the level of immersion into a fast-paced learning environment that’s hands on, engaging, requires significant attention, time and energy.  Learning anything new can conjure feelings of frustration, self-doubt or discomfort and it can catch some people off guard. &lt;/p&gt;

&lt;p&gt;Learning is CHANGE. You may be familiar with the traditional “Change Curve.”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F58wadpal1b8vspc1mp1z.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F58wadpal1b8vspc1mp1z.jpeg" alt="change curve" width="800" height="584"&gt;&lt;/a&gt;&lt;br&gt;
According to William Bridges, Managing Transitions, change is situational however transitions are psychological.  Transitions have an ending phase, the letting go of old ways and old identities.  The neutral phase is exploration and learning.  The “old” is gone however the “new” hasn’t arrived yet. Last is new beginnings, a phase of new identities, new energy and discovering a new purpose.  Every person experiences this differently with different reactions and at different paces.  Let’s face it change, of any type, is difficult but it can be easier with the right tools.  &lt;/p&gt;

&lt;p&gt;Part of my non-technical background was spent as a certified practitioner of change management through Prosci Change Management.  Their model for change, ADKAR, is simply fantastic and can be applied to any professional or personal situation, even web development! &lt;/p&gt;

&lt;p&gt;Check out &lt;a href="https://dev.to/kymiddleton/change-is-great-ill-go-first--11jm"&gt;part two&lt;/a&gt; to learn more about this model and how it can help you.  &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>codenewbie</category>
      <category>career</category>
    </item>
  </channel>
</rss>
