Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git log --numstat <first commit hash> HEAD
- $ git rev-list HEAD
- 32a9b9158d73dc80b355993a5a5f8fc49ae25334
- 9946574838bf5f984f5f4a19b2fc524f0a60378c
- 3f82a5dcecde0028da21fb266c1bbd7e9ec762ec
- ...
- $ git ls-tree -r 32a9b9158d73dc80b355993a5a5f8fc49ae25334
- 100644 blob dcf290b1a99a8d2535b8aa8f85702cd1b7fac6e8 .gitignore
- 100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 README
- git show:
- $ git show dcf290b1a99a8d2535b8aa8f85702cd1b7fac6e8
- .gitignore
- *.pyc
- rm_pyc.sh
- aima/**/*.pyc
- .idea
- git show dcf290b1a99a8d2535b8aa8f85702cd1b7fac6e8 > file
- /bin/file file
- file: ASCII text
- git log --all --numstat
- | grep '^-'
- | cut -f3
- | sed -r 's|(.*){(.*) => (.*)}(.*)|124n134|g'
- | sort -u
- commit 0123456789012345678901234567890123456789
- Author: Joe Example <jexample@domain.com>
- Date: Thu Mar 9 15:33:29 2017 +0000
- edit Dockerfile, add assets/foobar.jpg
- 1 1 Dockerfile
- - - assets/foobar.jpg
- sed -r 's|(.*){(.*) => (.*)}(.*)|124n134|g'
- path/to/{foo => bar}/my-document.pdf
- path/to/foo/my-document.pdf
- path/to/bar/my-document.pdf
Add Comment
Please, Sign In to add comment