<?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: Omarseda</title>
    <description>The latest articles on DEV Community by Omarseda (@omarseda).</description>
    <link>https://dev.to/omarseda</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%2F509201%2F1f5e59ad-fc5d-4b23-8bed-b79665577655.jpeg</url>
      <title>DEV Community: Omarseda</title>
      <link>https://dev.to/omarseda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omarseda"/>
    <language>en</language>
    <item>
      <title>Github Pages, the quick start.</title>
      <dc:creator>Omarseda</dc:creator>
      <pubDate>Fri, 06 Nov 2020 19:09:17 +0000</pubDate>
      <link>https://dev.to/omarseda/github-pages-the-quick-start-11d9</link>
      <guid>https://dev.to/omarseda/github-pages-the-quick-start-11d9</guid>
      <description>&lt;p&gt;Just joined here, and as you know, one of the recommended tasks for a new member here is writing the first post. But I just don't have any important idea or things to write about. :D&lt;/p&gt;

&lt;p&gt;But ok, here i'm going to try to write about creating your very first github page, in case you still don't have a github page, still don't know how to do it, or whatever, here the quick start.&lt;/p&gt;

&lt;p&gt;First, go to the &lt;a href="https://github.com"&gt;github&lt;/a&gt;, and make sure you are already logged in. If not, you'd better create a github account now.&lt;/p&gt;

&lt;p&gt;Go to your profile page and create a repository named something like &lt;code&gt;&lt;em&gt;jack&lt;/em&gt;.github.io&lt;/code&gt;, where &lt;code&gt;jack&lt;/code&gt; have to be exactly the same as your github username. So, for instance, if you are &lt;code&gt;https://github.com/omarseda&lt;/code&gt;, then the repository name &lt;em&gt;must&lt;/em&gt; be &lt;code&gt;&lt;em&gt;omarseda&lt;/em&gt;.github.io&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Now, we are going back to our local machine. (Oh, I forget, you must have a &lt;em&gt;git&lt;/em&gt; installed on your machine too, if not, &lt;a href="https://git-scm.com/downloads"&gt;install it&lt;/a&gt; now.)&lt;/p&gt;

&lt;p&gt;Now, somewhere on your local machine, open the terminal or git console and &lt;code&gt;clone&lt;/code&gt; your repo, replace the &lt;code&gt;jack&lt;/code&gt; with your username :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git clone https://github.com/jack/jack.github.io
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You have a cloned repository under &lt;code&gt;jack.github.io&lt;/code&gt; directory, now. Go there and make a html file &lt;code&gt;index.html&lt;/code&gt; :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ cd jack.github.io
$ echo &amp;gt; index.html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open the &lt;code&gt;index.html&lt;/code&gt; in your editor, and write some html, this will be your &lt;em&gt;homepage&lt;/em&gt; of your github pages, example :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Hello Github&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Hello World !&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then save it.&lt;/p&gt;

&lt;p&gt;Now we are going back to the git to &lt;code&gt;add&lt;/code&gt; the file, then &lt;code&gt;commit&lt;/code&gt; and &lt;code&gt;push&lt;/code&gt; it :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git add index.html
$ git commit -m "Hello world"
$ git push -u origin master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Done. Open your page at &lt;code&gt;https://jack.github.io&lt;/code&gt;, on your browser.&lt;/p&gt;

&lt;p&gt;You can edit your file again next times, add some other files, and when you're done, just &lt;code&gt;add&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt; and &lt;code&gt;push&lt;/code&gt; it again.&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
