last-git-changes

Prints the changed files of the last git commit, including globbing support with exlude patterns and correctly resolves merge commits.

Usage no npm install needed!

<script type="module">
  import lastGitChanges from 'https://cdn.skypack.dev/last-git-changes';
</script>

README

last-git-changes

Prints the changed files of the last git commit, including globbing support with exlude patterns and correctly resolves merge commits.

Usage

$ npm install -g last-git-changes
$ last-git-changes --exclude='README.md,docs'

License

MIT