Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git Log
{
"name": "run-git-log-with-npx-from-gist",
"version": "1.0.0",
"scripts": {
"set-global": "git config --global grep.extendedRegexp true",
"format-commits": "git log --pretty=format:"%h%x09%d%x09%an%x09%ad%x09%s" --no-merges --date=short --author="Alfonso" | commits.txt",
"log-unix": "npm run set-global && npm run format-commits",
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment