<?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: Ben Sawyer</title>
    <description>The latest articles on DEV Community by Ben Sawyer (@bsawyer).</description>
    <link>https://dev.to/bsawyer</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%2F318070%2Fc27638cf-836d-478a-8937-9544fe6eed40.jpg</url>
      <title>DEV Community: Ben Sawyer</title>
      <link>https://dev.to/bsawyer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bsawyer"/>
    <language>en</language>
    <item>
      <title>Keeping track of notes across projects and features</title>
      <dc:creator>Ben Sawyer</dc:creator>
      <pubDate>Fri, 31 Jan 2020 18:41:33 +0000</pubDate>
      <link>https://dev.to/bsawyer/keeping-track-of-notes-across-projects-and-features-4jdg</link>
      <guid>https://dev.to/bsawyer/keeping-track-of-notes-across-projects-and-features-4jdg</guid>
      <description>&lt;p&gt;Working as a frontend dev for a large e-commerce company, I find myself switching between different features quite frequently. It's pretty much a given, as soon as I start a new ticket at work or even a new personal project, I press cmd+n in my editor and start taking down any relevant notes I come across. The problem however is as soon as I have to switch to something else, I just end up saving the file to my desktop. I have to hope I don't forget the filename or that it even existed.&lt;/p&gt;

&lt;p&gt;Recently I was looking for a better way to keep track of my notes. Sure there's Google drive, native desktop note taking apps, or even git submodules but I was looking for something simpler. I would like to have a persistent file open in my IDE, right next to the files I'm working on, but it couldn't live in the same directory as the current project. And I would need a way to easily switch between notes without opening and closing different files.&lt;/p&gt;

&lt;p&gt;I decided to write a CLI as a wrapper around a single git repository. The repo would act like a scratchpad. For every project, feature or idea I would create a new branch with a blank file, treating it as a new page in the scratchpad. I could then create symbolic references to each branch with a semantic name that would make it easier to remember which page to flip to when switching work; just like placing a bookmark.&lt;/p&gt;

&lt;p&gt;The source code and full documentation is available at &lt;a href="https://github.com/bsawyer/scratchpad"&gt;https://github.com/bsawyer/scratchpad&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have run into a similar problem I hope you find this script useful and would certainly appreciate any feedback.&lt;/p&gt;

</description>
      <category>git</category>
      <category>notes</category>
      <category>productivity</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
