Skip to content

Instantly share code, notes, and snippets.

@deepakmahakale
Created July 5, 2018 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepakmahakale/0f87d205bbc40241a5b42ee232203794 to your computer and use it in GitHub Desktop.
Save deepakmahakale/0f87d205bbc40241a5b42ee232203794 to your computer and use it in GitHub Desktop.
find new css and js in two branches
git diff --color --name-status master..develop | grep -E '^A.*.js|^A.*.css' # js & css
git diff --color --name-status master..develop | grep -E '^A.*db/migrate/.*.rb' # migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment