<?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: Fábio Guerreiro</title>
    <description>The latest articles on DEV Community by Fábio Guerreiro (@fabioguerreiro).</description>
    <link>https://dev.to/fabioguerreiro</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%2F524906%2F81387cba-7b0c-43ef-b5b3-ca55c8eb7701.jpeg</url>
      <title>DEV Community: Fábio Guerreiro</title>
      <link>https://dev.to/fabioguerreiro</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fabioguerreiro"/>
    <language>en</language>
    <item>
      <title>What's your most used shortcut?</title>
      <dc:creator>Fábio Guerreiro</dc:creator>
      <pubDate>Mon, 07 Dec 2020 15:35:34 +0000</pubDate>
      <link>https://dev.to/doctolib/what-s-your-most-used-shortcut-17lp</link>
      <guid>https://dev.to/doctolib/what-s-your-most-used-shortcut-17lp</guid>
      <description>&lt;p&gt;As I’m writing this article, I just finished adding two new commands alias to my git config file :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git config --global alias.list-old-branches "!git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}'"&lt;/code&gt; - to list all the branches that exist on my local repository but have been deleted from remote&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git config --global alias.clean-old-branches "!git list-old-branches | xargs git branch -D"&lt;/code&gt; - to pick the list of branches returned by the previous command and delete them from my local repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And then it made me think &lt;strong&gt;'How can we improve our productivity with more of these shortcuts? 🤔'&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--b9cYjnAh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rksj3fch0b7y0ca8445q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--b9cYjnAh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rksj3fch0b7y0ca8445q.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope that each one of us has one or more shortcuts added either to our terminal/VSCode/git. So I decided to write this article for it to work as a centralized repository of shortcuts that can easily be shared among us.&lt;/p&gt;

&lt;p&gt;It's not convenient to go through the whole history of 'that'-hot-tips channel. Or having to go through individual SO questions, to look for that &lt;a href="https://medium.com/doctolib/automated-rails-tests-in-vs-code-331ac26f71ec"&gt;VSCode shortcut&lt;/a&gt; that allows you to run all the tests from a single file.&lt;/p&gt;

&lt;p&gt;Hope this article helps everyone, from an experienced programmer to a newbie! And please, add your own shortcuts in the comments.&lt;/p&gt;

&lt;p&gt;Take care, BEAR hugs ฅʕ•ᴥ•ʔฅ&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>hottips</category>
      <category>vscode</category>
      <category>zsh</category>
    </item>
  </channel>
</rss>
