Skip to content

Instantly share code, notes, and snippets.

@FredKSchott
Created August 21, 2014 15:33
Show Gist options
  • Save FredKSchott/e81669df4c580867dd0a to your computer and use it in GitHub Desktop.
Save FredKSchott/e81669df4c580867dd0a to your computer and use it in GitHub Desktop.
Getting Recently Changed Files - ShellJS Recipes - http://shelljs-recipes.tumblr.com/
// dependencies: a git repo
var CHANGED_FILES = exec('git diff --name-only master..HEAD').output.replace(/\n/g,' ');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment