Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Git diff show only name
- Command
- `$ git diff --name-only 4c2d3df99947b4406c3032e599e8e820d82a6a7b 511b49a17a7e0b99ea65c48c0b885c09f7bc06c5`
- Result
- ```
- /path/to/filename.ext
- /path/to/filename2.ext
- ```
- ### Git diff show file status with names
- Command
- `git diff --name-status fc82481393794c0aa49acc53a5a40e791cc44f06 511b49a17a7e0b99ea65c48c0b885c09f7bc06c5`
- Result
- ```
- M /path/to/filename.ext
- A /path/to/filename2.ext
- ```
Add Comment
Please, Sign In to add comment