Last active
December 14, 2015 00:08
-
-
Save aprescott/4996185 to your computer and use it in GitHub Desktop.
Show all lines added to `some-dir/` in the last week (on all branches), restricted to: only newly added files, those by author matching "adam".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Show all lines added to `some-dir/` in the last week (on all branches), restricted to: | |
# | |
# * only newly added files, | |
# * those by author matching "adam". | |
# | |
git log --author=adam --since={1.week.ago} --all --diff-filter=A -p -- some-dir/ | | |
# lines added | |
grep -E '^\+' | | |
# ignoring the paths to the files | |
grep -v -E '^\+\+\+' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment