<?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: Kemigisa Lailah Grant</title>
    <description>The latest articles on DEV Community by Kemigisa Lailah Grant (@lailahgrant).</description>
    <link>https://dev.to/lailahgrant</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%2F234745%2F08068863-b445-41f9-8304-393616695907.jpg</url>
      <title>DEV Community: Kemigisa Lailah Grant</title>
      <link>https://dev.to/lailahgrant</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lailahgrant"/>
    <language>en</language>
    <item>
      <title>Source file not compiled in CodeBlocks - C.</title>
      <dc:creator>Kemigisa Lailah Grant</dc:creator>
      <pubDate>Fri, 04 Sep 2020 07:16:18 +0000</pubDate>
      <link>https://dev.to/lailahgrant/source-file-not-compiled-in-codeblocks-c-4748</link>
      <guid>https://dev.to/lailahgrant/source-file-not-compiled-in-codeblocks-c-4748</guid>
      <description>&lt;p&gt;If you're someone like me that rarely reads instructions when installing an application then you might definitely meet with the problem I got today and I want to tell you, this might come in handy 👍 .&lt;/p&gt;

&lt;p&gt;Initially, I've been a DevC++ application fan and if I was doing anything C i.e the CS50 courses, I would definitely use DevC++ for my C programs.&lt;br&gt;
But today I got the error of &lt;strong&gt;Source file not compiled&lt;/strong&gt; for the very first time, got all sweaty, and thanks to &lt;a href="https://stackoverflow.com/questions/14514682/source-file-not-compiled-dev-c" rel="noopener noreferrer"&gt;StackOverflow&lt;/a&gt;, I managed to get a solution which was &lt;em&gt;installing CodeBlocks&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I just went right on to &lt;a href="http://www.codeblocks.org/downloads" rel="noopener noreferrer"&gt;CodeBlocks&lt;/a&gt;, got the 1st .exe file I could find &amp;amp; installed(clicked Next, Next, finish) without reading through.&lt;/p&gt;

&lt;p&gt;I open my C program files and on running:-&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Source file not compiling&lt;/strong&gt; dialog box&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;I came across a guide to &lt;a href="https://codeforwin.org/2017/08/install-configure-codeblocks-c-compiler.html" rel="noopener noreferrer"&gt;installing and configuring CodeBlocks&lt;/a&gt; and I figured I really didn't install the setup right.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Win + R, type control, uninstall CodeBlocks, Restarted my PC&lt;/em&gt;&lt;br&gt;
and now I was ready to follow the instructions in the above link but still, I didn't reach the part that Enables me to have a &lt;strong&gt;"GNU GCC Compiler"&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I did the above step for over 4 times but still i got the same error 😞 .&lt;/p&gt;

&lt;p&gt;Now I started playing with every option in the toolbar till I found a solution 👏 .&lt;/p&gt;

&lt;p&gt;👉 This will only work if you have set your &lt;strong&gt;Environment variables&lt;/strong&gt; like in the link in step 1 or can use these simple steps below:-&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Win + E, file explore opens up&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;This PC&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Right-click &lt;strong&gt;This PC&lt;/strong&gt;, click on &lt;strong&gt;properties&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;On your left, click &lt;strong&gt;Advanced system settings&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;click on &lt;strong&gt;Environment Variables&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;System variables&lt;/strong&gt;, click &lt;strong&gt;Path&lt;/strong&gt; then &lt;strong&gt;Edit...&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Browse for the &lt;strong&gt;C:\Program Files\CodeBlocks\MinGW\bin&lt;/strong&gt; according to which drive you installed the application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now that your Environment variables are set, open your CodeBlocks application to setup my &lt;strong&gt;"GNU GCC Compiler"&lt;/strong&gt; as shown below:-&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%2Fi%2Fn5ia4ny2n8ez8rmnlngo.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%2Fi%2Fn5ia4ny2n8ez8rmnlngo.png" alt="opened my initial C program in CodeBlocks" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, look for &lt;strong&gt;Settings&lt;/strong&gt; menu on the upper toolbar.&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%2Fi%2Fcn4h4rszw7ryu28qm84o.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%2Fi%2Fcn4h4rszw7ryu28qm84o.png" alt="Seetings menu on the toolbar" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you click on Settings, a dropdown menu with Environment,Editor...,Compiler...&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%2Fi%2F035cfnsqfro1mmkf94cv.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%2Fi%2F035cfnsqfro1mmkf94cv.png" alt="click on Settings, a dropdown menu" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select the &lt;strong&gt;Compiler...&lt;/strong&gt; menu&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%2Fi%2Ft8r3zzae4909414sx15v.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%2Fi%2Ft8r3zzae4909414sx15v.png" alt="Select the Compiler... menu" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After the above step, a new box is opened with &lt;strong&gt;Global Compiler Settings&lt;/strong&gt; with the &lt;code&gt;selected compiler&lt;/code&gt; &lt;em&gt;GNU GCC Compiler&lt;/em&gt;.&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%2Fi%2Fh4s05o1t5pfpaz4ayhgx.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%2Fi%2Fh4s05o1t5pfpaz4ayhgx.png" alt="a new box is opened" width="800" height="449"&gt;&lt;/a&gt;&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%2Fi%2Frh4j3jjr57rgywngxbne.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%2Fi%2Frh4j3jjr57rgywngxbne.jpg" alt="Click Reset Defaults" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
Click on &lt;strong&gt;Reset defaults&lt;/strong&gt;&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%2Fi%2F38c26ablku4m75bmlvmt.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%2Fi%2F38c26ablku4m75bmlvmt.png" alt="Reset defaults" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A confirmation box pops up, click &lt;strong&gt;Yes&lt;/strong&gt;&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%2Fi%2Fnlhj1mwe35s45tpqjify.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%2Fi%2Fnlhj1mwe35s45tpqjify.png" alt="confirmation box pops up, click **Yes**" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another re-confirmation box pops up, still click &lt;strong&gt;Yes&lt;/strong&gt;&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%2Fi%2Fa0cv7l8txgr2e59g94po.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%2Fi%2Fa0cv7l8txgr2e59g94po.png" alt="Another re-confirmation box pops up, still click **Yes**" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Popup box confirming the auto-detect installation of the &lt;em&gt;GNU GCC Compiler&lt;/em&gt; showing the &lt;em&gt;Environment Variable&lt;/em&gt; 👉 C:\Program Files\CodeBlocks\MinGW\bin &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%2Fi%2Fp9vdl17g578csqxbgl48.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%2Fi%2Fp9vdl17g578csqxbgl48.png" alt="GNU GCC Compiler all setup using Environment Varaible" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now it is time to &lt;em&gt;build and run&lt;/em&gt; your C program 👍 .&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%2Fi%2Frv9qpa1ayh04vrcw4ij6.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%2Fi%2Frv9qpa1ayh04vrcw4ij6.png" alt="build and run* your C program" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The program is displayed as shown below&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%2Fi%2F8zywxziwobv6c5owbfyq.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%2Fi%2F8zywxziwobv6c5owbfyq.png" alt="program is displayed" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well, good job on solving that one, &lt;em&gt;Happy Coding&lt;/em&gt; 😄 and &lt;em&gt;Thanks for your time&lt;/em&gt; 😎 .&lt;/p&gt;

</description>
      <category>c</category>
      <category>cpp</category>
    </item>
    <item>
      <title>Online Editors (codesandbox is my best)</title>
      <dc:creator>Kemigisa Lailah Grant</dc:creator>
      <pubDate>Fri, 29 May 2020 05:58:25 +0000</pubDate>
      <link>https://dev.to/lailahgrant/online-editors-codesandbox-is-my-best-4fno</link>
      <guid>https://dev.to/lailahgrant/online-editors-codesandbox-is-my-best-4fno</guid>
      <description>&lt;p&gt;In this lockdown, I've committed to a lot of projects and I feel I have worked on none of them - sad right 😢!!!&lt;/p&gt;

&lt;p&gt;Well, I redeemed myself in some voluntary online lessons I'm carrying on with a team and it has @chrosbie(her dev.to account, twitter handle) and other facilitators.&lt;br&gt;
Last Saturday I led a class on Introduction to HTML and I believe it was a success(hopefully). Later in the week, I set some exercises for my students.&lt;/p&gt;

&lt;p&gt;As any good teacher would be, I had to go through the assignments I gave my students and one of them was using online editors like &lt;a href="https://codesandbox.io/" rel="noopener noreferrer"&gt;codesandbox&lt;/a&gt;, &lt;a href="https://codepen.io/" rel="noopener noreferrer"&gt;codepen&lt;/a&gt;,&lt;a href="https://glitch.com/" rel="noopener noreferrer"&gt;Glitch&lt;/a&gt;,&lt;a href="https://jsfiddle.net/" rel="noopener noreferrer"&gt;jsfiddle&lt;/a&gt; etc&lt;/p&gt;

&lt;p&gt;So I went through the different online editors and so far, codesandbox is my best, WHY???&lt;br&gt;
It is because of the following reasons:-&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can create any project be it a static page(HTML) / Vanilla js or in any framework, cool right 👍!!!&lt;/li&gt;
&lt;li&gt;Can &lt;code&gt;create&lt;/code&gt; a Github repo (Export to GitHub), yes, without leaving the site but doing it codesandbox itself.&lt;/li&gt;
&lt;li&gt;Can &lt;code&gt;import&lt;/code&gt; an existing GitHub repo.&lt;/li&gt;
&lt;li&gt;Can still &lt;code&gt;create Github pages&lt;/code&gt;, oh this is so cool 😊.&lt;/li&gt;
&lt;li&gt;Then you can &lt;code&gt;commit&lt;/code&gt; changes to your repo, create a pull request(PR).&lt;/li&gt;
&lt;li&gt;Can go live - &lt;code&gt;create a live session&lt;/code&gt; and share the link with your colleagues.&lt;/li&gt;
&lt;li&gt;Can &lt;code&gt;publish your project to Netlify&lt;/code&gt; - Oh yes, this is the super coolest  😃 feature for me.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Feel free to checkout my codesandbox projects on &lt;a href="https://codesandbox.io/u/lailahgrant" rel="noopener noreferrer"&gt;Lailah Grant&lt;/a&gt; , my GitHub repo on &lt;a href="https://github.com/lailahgrant/lailahgrant.io.w3schoolsNext/tree/master/" rel="noopener noreferrer"&gt;my W3 schools recap&lt;/a&gt;, my GitHub Page on &lt;a href="https://lailahgrant.github.io/lailahgrant.io.w3schoolsNext/" rel="noopener noreferrer"&gt;my W3 schools recap&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Go check &lt;a href="https://codesandbox.io/" rel="noopener noreferrer"&gt;codesandbox&lt;/a&gt; out, discover/explore cool features by yourself and it will be the best experience ever.&lt;/strong&gt; 😀&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Thanks for your &lt;code&gt;time&lt;/code&gt;, &lt;code&gt;stay safe&lt;/code&gt;, &lt;code&gt;social distance&lt;/code&gt; and &lt;code&gt;wash&lt;/code&gt; your hands&lt;/em&gt; &lt;/p&gt;

</description>
      <category>codesandbox</category>
      <category>html</category>
      <category>css</category>
      <category>onlinecoding</category>
    </item>
    <item>
      <title>What happens when you add a wrong "remote origin URL" to your GitHub project?</title>
      <dc:creator>Kemigisa Lailah Grant</dc:creator>
      <pubDate>Tue, 11 Feb 2020 20:02:10 +0000</pubDate>
      <link>https://dev.to/lailahgrant/what-happens-when-you-add-a-wrong-remote-origin-url-to-your-github-project-32b5</link>
      <guid>https://dev.to/lailahgrant/what-happens-when-you-add-a-wrong-remote-origin-url-to-your-github-project-32b5</guid>
      <description>&lt;p&gt;&lt;em&gt;I must mention, this just happened to me this evening on Tuesday 11th February 2020 and I spent about 15 minutes or so working on that.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A friend has been asking me for some code that was just locally on my PC, so after he persisted, I just realised all I could do is put it on Github for him to find.&lt;/p&gt;

&lt;p&gt;For those that don't know how to push a local project to GitHub, hopefully, these following can help:-&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to your GitHub account on your browser, login(if you aren't logged in).&lt;/li&gt;
&lt;li&gt;Create a repository with the same name as that of your local project e.g cats&lt;/li&gt;
&lt;li&gt;Open your terminal &amp;amp; browse to your project directory e.g
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then do the following commands&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/lailahgrant/cats.git
git push -u origin master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now back to our main question!!!&lt;br&gt;
let's say&lt;br&gt;
instead of the above, you end up doing the following,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/lailahgrant/cat
git push -u origin master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I know this can happen because it happened to me today and this is what I did :-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ git remote add origin https://github.com/lailahgrant/ikowap
lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ git push -u origin master
Username for 'https://github.com': lailahgrant
Password for 'https://lailahgrant@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/lailahgrant/ikowap/' not found
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then after realising my mistake, I now tried to put the correct URL and I got the following errors:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ git remote add origin https://github.com/lailahgrant/ikowapi.git
fatal: remote origin already exists.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;At this point I was so desperate &amp;amp; I tried every solution in the --help but all in vain.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I finally got a solution from the popular saviour -  &lt;em&gt;&lt;a href="https://stackoverflow.com/questions/25463839/git-fatal-will-not-delete-all-non-push-urls" rel="noopener noreferrer"&gt;Stack overflow&lt;/a&gt;&lt;/em&gt; and all I did was run the following:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ git remote rm origin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above command removed all the remote origin URLs I had put.&lt;/p&gt;

&lt;p&gt;Now it was safe for me to run the other commands...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ git remote add origin https://github.com/lailahgrant/ikowapi.git
lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ git push -u origin master
Username for 'https://github.com': lailahgrant
Password for 'https://lailahgrant@github.com': 
Counting objects: 185, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (180/180), done.
Writing objects: 100% (185/185), 1005.56 KiB | 3.63 MiB/s, done.
Total 185 (delta 32), reused 0 (delta 0)
remote: Resolving deltas: 100% (32/32), done.
To https://github.com/lailahgrant/ikowapi.git
 * [new branch]      master -&amp;gt; master
Branch 'master' set up to track remote branch 'master' from 'origin'.
lailah@DESKTOP-VDD8TTR:/mnt/e/ikowapi$ 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;Hopefully you found this helpful, Thanks for reading through&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Some of the Git commands you must know for open-source contribution.</title>
      <dc:creator>Kemigisa Lailah Grant</dc:creator>
      <pubDate>Tue, 05 Nov 2019 06:47:38 +0000</pubDate>
      <link>https://dev.to/lailahgrant/some-of-the-git-commands-you-must-know-for-open-source-contribution-4hjh</link>
      <guid>https://dev.to/lailahgrant/some-of-the-git-commands-you-must-know-for-open-source-contribution-4hjh</guid>
      <description>&lt;p&gt;For every developer out there, mostly the junior developers like me that want to improve their skills in this field of coding, should look more into open-source contributions &amp;amp; attending meetups at both local and remote level.&lt;/p&gt;

&lt;p&gt;let's dive in:-&lt;br&gt;
For a repository you want to contribute to (given that the issue is open and known to you, maybe - like after communicating to the mentor),&lt;/p&gt;

&lt;blockquote&gt;
&lt;h3&gt;
  
  
  a) Fork the repository you want to contribute to.
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;You should be logged into GitHub with your account.&lt;/li&gt;
&lt;li&gt;Find the GitHub repository with which you’d like to work.&lt;/li&gt;
&lt;li&gt;Click the Fork button on the upper right-hand side of the repository’s page.&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  b) Clone the repository in your command line.
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;git clone &amp;lt;repo_url&amp;gt;&lt;/code&gt; &lt;/p&gt;
&lt;h5&gt;
  
  
  e.g.
&lt;/h5&gt;

&lt;p&gt;&lt;code&gt;git clone https://github.com/lailahgrant/reactWork.git&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  c) Change location(directory) into the cloned repo
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;cd reactWork&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  d)create a branch(where you will push your changes &amp;amp; not to the &lt;code&gt;master&lt;/code&gt;) e.g
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;git checkout -b lailah&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;code&gt;lailah&lt;/code&gt; in this context is your branch name(branch name can be any meaningful name).
&lt;/h4&gt;
&lt;h3&gt;
  
  
  In case you make changes on the project, talk to the person and make a pull request(PR).
&lt;/h3&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  e) To check which branch you are on (you must be on your branch), Run
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;git status&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  f) To add all files you have changed, Run
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;br&gt;
 &lt;code&gt;git add .&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  g) Commit your changed with a meaningful message, Run
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;git commit -m "meaningful message about your changes"&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  h) Now it is time to push your changes to your branch, Run
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;git push origin lailah&lt;/code&gt;&lt;/p&gt;
&lt;h5&gt;
  
  
  or
&lt;/h5&gt;

&lt;p&gt;&lt;code&gt;git push --set-upstream origin lailah&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Thanks for your time hopefully you found this article helpful.
&lt;/h2&gt;

</description>
    </item>
  </channel>
</rss>
