$ git diff --name-only master my_branch | sort
Created
July 12, 2019 19:48
-
-
Save bitlather/d3a4e7da41b652642770b974aa97f93f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't forget to pull master into your branch first, and make sure master is up-to-date with what's on the server.
This is useful for pasting into a code editor like Sublime Text, then multi-line editing to run tools like rubocop on just the things that have been touched in your branch.