Skip to content

Instantly share code, notes, and snippets.

@Lockyy
Last active June 6, 2023 16:16
Show Gist options
  • Save Lockyy/4a5e96288edeb26b3dae17493803d62a to your computer and use it in GitHub Desktop.
Save Lockyy/4a5e96288edeb26b3dae17493803d62a to your computer and use it in GitHub Desktop.
Outputs a list of all files changed between your current HEAD and develop
#!/bin/bash
git diff --name-only --diff-filter=d main...
@Lockyy
Copy link
Author

Lockyy commented Mar 2, 2020

I use this as the basis for a bunch of other scripts like rspec-changed and copchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment