Open the dirty files in a branch in a text editor, carry on hackin.
Opening dirty files from a branch.
WIP NOT READY FOR GENERAL USE YET
|I want to
What ODB does
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.
$ npm install -g odb
The default editor is Sublime. You can change it Atom:
$ od --editor atom
Do the same to set it back to Sublime, but type 'subl' (instead of the full name). I can't say how it will work with other editors...
To 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 :)
It uses the default branch to compare to as
master. To change the branch:
$ od gh# short for gh-pages$ od <fullbranchname># for other branches