git-extras provides a rich collection of developer utilities, subcommands, and workflow extensions for Git.
Features & Workflows
Git-flow Feature Branches
$ git feature myfeature
switched to branch 'feature/myfeature'
$ git checkout develop
$ git feature finish myfeature
merging 'feature/myfeature' into develop
deleted branch 'feature/myfeature'
Complementary subcommands include git-bug and git-refactor.
Branch Management
git delete-branch mybranch # Deletes branch locally and remotely
git create-branch mybranch # Creates local and pushes remote branch
Codebase Inspection & Statistics
git summary # Displays repository commit stats and active contributors
git effort # Ranks files by change frequency and activity
git count # Outputs line counts and commit counts
git standup # Summarizes commits made by an author over recent days
GitHub Integration
git fork https://github.com/user/repo # Clones repo and configures fork remotes
git sync origin master # Syncs local branch with original repository
git release v1.0.0 # Tags, signs, and pushes release commit
Convenience Utilities
git undo # Undoes the latest commit, keeping changes in working tree
git alias # Displays or sets custom Git aliases
git ignore '*.log' # Appends pattern to .gitignore
git obliterate secret.env # Completely scrubs a file from entire commit history