-
Notifications
You must be signed in to change notification settings - Fork 12
Open Branch
Alistair McKinnell edited this page May 4, 2019
·
4 revisions
Rationale
From the command line open all the files from a git feature branch in RubyMine.
Mechanism
Add this command line script to your shell:
mine_branch () {
if [[ "$1" == "" ]]
then
branch=master
else
branch=$1
fi
git diff --name-only --diff-filter=d $branch | xargs -r mine .
}Note: you will need to brew install findutils and follow instructions to get the -r option for xargs.