Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

odb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

odb

Open the dirty files in a branch in a text editor, carry on hackin.

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

open-dirty dirtydirty odb

Opening dirty files from a branch.

WIP NOT READY FOR GENERAL USE YET

I want to checkout the branch I'm working on then open all the files I've been working on, in that branch, in my text editor. I don't want to fuzzy find them or search through the tree for them or open them once and leave the window open until the PR is merged... No, no.

What ODB does

It runs git diff --name-only origin/master... the same as you could do on the command line. This gets a list of the files that include changes not on master. ODB then creates another command for opening the text editor with each of those files. It then runs that command.

How to Use

You'll need to have installed Node.js to run ODB and of course Git.

Install

$ npm install -g odb

Use

After you cd into the directory for the repo you're working on, run ODB:

$ cd <RepoDirectory>
$ od

The dirty files will open in your text editor :)

Future

  • Need to add config for setting your editor preference
  • Command line option for a shortcut setting the branch you're comparing to (master, gh-pages : m, gh)

FAQs

Package last updated on 03 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts