Reputation: 39009
Is there a command for this? It seems like something really useful that should exist, but I haven't been able to find a command or switch for it despite my googling. Help?
Upvotes: 4
Views: 3930
Reputation: 31
The below is based on Mike West's fshow. In your .gitconfig:
[alias]
#show all files changed since branch inception
ishow = ! bash -c 'git show --pretty="format:" --name-only "$(git merge-base "$(git rev-parse --abbrev-ref HEAD)" master)..HEAD" | grep -v "^$" | sort | uniq' -
Upvotes: 3
Reputation: 2509
Mike West set up an alias called fshow
to do exactly this: see his write-up for detailed instructions how to do it.
Upvotes: 4