<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Haroonabdulrazaq on Medium]]></title>
        <description><![CDATA[Stories by Haroonabdulrazaq on Medium]]></description>
        <link>https://medium.com/@haroonabdulrazaq?source=rss-3c22c42d7fef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vRkYwNkPXp6mc1CEWDw8zg.jpeg</url>
            <title>Stories by Haroonabdulrazaq on Medium</title>
            <link>https://medium.com/@haroonabdulrazaq?source=rss-3c22c42d7fef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:04:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@haroonabdulrazaq/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ethics of work in Microverse and beyond]]></title>
            <link>https://medium.com/@haroonabdulrazaq/ethics-of-work-in-microverse-and-beyond-6cea2c5d6def?source=rss-3c22c42d7fef------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cea2c5d6def</guid>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[honesty]]></category>
            <category><![CDATA[dishonesty]]></category>
            <dc:creator><![CDATA[Haroonabdulrazaq]]></dc:creator>
            <pubDate>Wed, 01 Jul 2020 11:18:46 GMT</pubDate>
            <atom:updated>2020-07-01T11:18:46.902Z</atom:updated>
            <content:encoded><![CDATA[<p>Ethics is a branch of philosophy that involves systemizing, defending and recommending concepts of right and wrong behaviour. (<a href="https://en.wikipedia.org/wiki/Ethics">Wikipedia</a>)</p><p>I am Shady Selim, a senior software engineer at Andela from Cairo, Egypt. I am over 40 years old with more than 20 years of experience in Mobile and web application development.</p><p><strong>What is Ethics?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*nRdW3SpLvmbK5MS5gLzT3A.jpeg" /><figcaption>Strong Ethics image from pixabay</figcaption></figure><p>“<em>Ethics is either learned or inherited, from your religion or the workplace. These are skills set every organization needs to include in its culture. These will regulate human behaviour, know whom to report to, and also prepare your mind on what to do when faced with ethical situations</em>”. Selim said</p><p><strong>How does Ethics improve productivity in the workplace?</strong></p><p>As said earlier, Ethics needs to be included in every organization, without it, everybody behaves on his/her own free will. An organization that possess strong ethics and train its staff on it, would increase communication, good working relationship among its staff, improve teamwork and in turn improve the productivity of that organization.</p><p><strong>What does it mean to have strong Ethics?</strong></p><p>Having a strong Ethics assist an individual to increase his/her good reputation. If an individual is dishonest, it would be said that the person is dishonest and should not be trusted. On the other hand, if someone is honest, good things would be said about such an individual. In <strong>Selim’s </strong>words, he explained that “<em>IT field is like a small house, you would always meet someone, that knows another, that knows you”</em>. Whatever is being said about you would improve your reputation positively or otherwise.</p><p><strong>What is honesty?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*bckquzR-arsbhNIPRYLiyg.jpeg" /><figcaption>Honesty image from pixabay</figcaption></figure><p>Honesty is a facet of moral character that connotes positive and virtuous attributes such as Integrity, truthfulness, straightforwardness, and honesty in conduct without lying, cheating, theft and so on. It also involves being trustworthy, loyal, just and sincere. (<a href="https://en.wikipedia.org/wiki/Honesty">Wikipedia</a>)</p><p>Selim said. Ethics differs from culture to culture, Some culture has zero-tolerance for dishonesty, while others lay more emphasis on adultery. Selim believes It’s better to be fully transparent because being dishonest is not acceptable in the IT field. He further stressed that if you don’t know a thing, it’s better to be straightforward about it by saying “I don’t know” and be optimistic by saying “I’ll learn it”. Being honest of course comes with a price, being dishonest comes with a bigger price.</p><p><strong>Do you know anyone dishonest before? What did he/she do? How was it resolved?</strong></p><p>Yes, he said. I could remember 2008, we hired a team lead in .NET and charged him with an important responsibility in a project that has a short timeline. He was unable to deliver, so we shared his workload on ours and let him off with a warning. Soon after that, there was another project he didn’t show up, without prior notice. Therefore he was dismissed from the organization. He paid the price for not being honest with himself, his team and the organization.</p><p><strong>What is your code of conduct?</strong></p><p>He believes in knowledge sharing and continuous learning. Sharing what you have learned would assist in understanding the domain better, while continuous learning would help you grow your career and keep you updated because, in this field of IT, we can’t afford to be outdated.</p><p>In conclusion, I have learned that being dishonest would not help an individual in any way, rather increases the numbness in you and comes with a bigger price to pay in the long run. Honesty makes you alive, light and improves your reputation positively. Your technical skills would get you the job while strong ethics(soft skills) will retain the job for you as long as you want. I will advise my reader, to be honest in all situation.</p><p>If you like this article remember to clap/like, give me feedback in the comment section, and you can also suggest on topics you want me to write on. Thanks for reading and see you next time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cea2c5d6def" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fix with Git]]></title>
            <link>https://medium.com/@haroonabdulrazaq/fix-with-git-28a7f9dc99ed?source=rss-3c22c42d7fef------2</link>
            <guid isPermaLink="false">https://medium.com/p/28a7f9dc99ed</guid>
            <category><![CDATA[fix-git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[revert-merge]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[merge]]></category>
            <dc:creator><![CDATA[Haroonabdulrazaq]]></dc:creator>
            <pubDate>Sun, 21 Jun 2020 16:40:00 GMT</pubDate>
            <atom:updated>2020-06-21T16:40:00.787Z</atom:updated>
            <content:encoded><![CDATA[<p>We use git almost every day, we use common commands like git init, add, status, commit, and push.</p><p>What if you need to fix something and need to fix it fast. Your friend mistakenly merges the wrong file and request your help. How would you undo the mistake you made?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*OfRaBQ8pOqn-19iK" /><figcaption><em>Fix common mishap</em></figcaption></figure><p>In this article, I will explain:</p><ol><li>How to fix common mishaps in git and a description of how to use them.</li><li>A quick way to undo your merge in the local and remote repository.</li></ol><p>I will assume you already have the basics of git and you are familiar with it. If not you should check my article <a href="https://haroonabdulrazaq.home.blog/2019/08/31/getting-started-with-git/">Getting Started with Git</a>.</p><p>A lot of times we have made mistakes of staging files to the wrong branch. Realizing it after it’s in the staging area. How do you unstage a file?</p><p>$git rm --cached filename. This command removes files that are in the staging area and puts them in the working directory</p><p>We can remove untracked files from our working directory with a simple command $git clean</p><p>We make mistakes in our commit messages and we need to amend that, we can with $git commit --amend -m &quot;new message&quot;</p><p>You can also take back a file that is been committed back to the staging area with this command git reset --soft HEAD^. This command goes back by 1 commit and takes all recently committed file(s) back to the staging area.</p><p>You might want to go back by a few commits. For example, you want to go back by 3 commits. You use $git reset HEAD~3</p><p>$git stash. This command removes your unstaged files from your working directory. Saves (stack) them for later.</p><p>$git stash pop Removes files from your stash and apply them to your working directory.</p><p>$git stash apply Retains the file in the stash and also apply them back to your working directory.</p><h3>Git Revert</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*aEHjvXGGhWL9itgsPoy76Q.png" /><figcaption><em>Git Revert image from Atlassian</em></figcaption></figure><p>There are several ways to undo changes to your files like git checkout, git reset. <strong>Git Revert</strong> is quite different from the rest and the safest of all. Unlike git reset that changes the HEAD ref pointer. $<strong>git revert.</strong> Inverts the commit to the specified commit(<strong>HEAD</strong>). Creates a new revert commit. Thus, keeping the integrity of your commit history.</p><p>Let’s take for instance you have made four commits as shown below. <br><strong>Remember</strong> git shows (Stack) your commits in chronological order</p><pre>$git log --oneline<br>ab106998 &quot;Add Signin and Signup form&quot;<br>2e77134 &quot;Add box section&quot;<br>1678910 &quot;Add Hero section&quot;<br>27eb525 &quot;Add navigation&quot;</pre><p>We noticed that there is an error in our last commit and need to go back by one commit meaning we go back to 2e77134. Now let see $git revert in action.</p><pre>$git revert HEAD<br>[master 2e77134] Revert &quot;Add box section&quot; //The new Revert commit<br>1 file changed, 1 deletion(-)<br>$ git log --oneline<br>1061e79 Revert &quot;Add box section&quot;<br>ab106998 &quot;Add Signin and Signup form&quot;<br>2e77134 &quot;Add box section&quot;<br>1678910 &quot;Add Hero section&quot;<br>27eb525 &quot;Add navigation&quot;</pre><p>Like I highlighted above, $git revert. doesn&#39;t delete the error commit it creates a new revert Commit. In your file, 1061e79 and 2e77134 are the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/0*7JyI1UpONw0h7I_m.gif" /></figure><p><em>Tadaa!!! you have successfully undo the mishaps. Pop it now!!</em></p><p>Noticed All we have discussed from the start of this article till now is how you can fix errors in your local repo. What if the error is on your remote repo?</p><h3>Revert merge in your remote repository</h3><p>Doe is a friend, he has mistakenly merged a wrong branch into the master branch locally. he didn’t stop there, he also pushed the commit to the remote repository. Doe needs your help to fix this error, What would you do?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/0*u4Gh9Ib5oyUU3jYO.gif" /><figcaption><em>What do I do??</em></figcaption></figure><p><strong>First Step: </strong>You should checkout to the master branch $git checkout master <br><strong>Second Step:</strong> Get the log using $git log --oneline [All you need is the merged hash]<br><strong>Third Step:</strong> Revert the merge to its former state $git revert -m 1 [hash code]<br><strong>Fourth Step</strong>: Commit the new changes and push.</p><h3>Summary</h3><p>In this article, we’ve covered some commands that can get you up and running. Help you in fixing some mishaps in your projects.</p><ol><li>Remove staged files</li><li>Amend a commit message</li><li>Undo an error commit</li><li>Apply and pop a stashed changes</li><li>Revert your files Locally</li><li>Revert merge in the remote repository</li></ol><p>Here are some resources you can look up for further read</p><p><a href="https://www.atlassian.com/git/glossary">Atlassian Git commands</a><br><a href="https://www.datree.io/resources/git-undo-merge#:~:text=The%20git%20revert%20command%20will,ll%20be%20set%20to%20go">Git Undo merge</a><br>Let me know what you think about this article in the comment section below. You can suggest topics you want me to write next. See you another time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28a7f9dc99ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>