Skip to content

📊 git-changes is a command that allows you to see total changes, insertions and deletions in a Git repository

Notifications You must be signed in to change notification settings

sorashi/git-changes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Git Changes

Git Changes is a git alias or a standalone script, which allows you to quickly see how many insertions, deletions and changes the repository has up until the current HEAD.

To save it as an alias, use this command:

git config --global alias.changes '!git diff --shortstat $(git log --max-parents=0 HEAD | grep -o -m 1 "[0-9a-f]\{40\}") HEAD'

Example usage:

> git changes
< 26 files changed, 1402 insertions(+), 170 deletions(-)

About

📊 git-changes is a command that allows you to see total changes, insertions and deletions in a Git repository

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages