Skip to content

๐ŸŽ„A git command to distribute the date of local git commits to best fill your GitHub contribution graph.

License

Notifications You must be signed in to change notification settings

astzweig/git-distribute-commits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ„ Git Distribute Commits

A git command to distribute the date of local (e.g. unpushed) git commits such that they best fill your GitHub contribution graph.

Take the following git graph as an example, where the branch feature/AC is currently checked out and the last commit, that was pushed to origin is the one marked in red. Running git distribute-commits will alter the date of all commits that are exclusive to the checked out branch and are a descendent of the node that was pushed last to origin. That yields all the green nodes.

Git graph illustrating the usage of git-distribute-commits

Installation

Just download git-distribute-commits and place it in any directory that is part of your PATH environment variable.

You will also need GitHub CLI tool.

Using Homebrew

You can install git-distribute-commits using Homebrew:

> brew install astzweig/formulae/git-distribute-commits

Usage

Run the tool at the top level directory of your git repository:

> git distribute-commits

Changelog

This project keeps a changelog that adheres to Keep a Changelog.

About

๐ŸŽ„A git command to distribute the date of local git commits to best fill your GitHub contribution graph.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages