This repository hosts a collection of miscellaneous extra Git commands (in the form of scripts building mostly on top of Git plumbing commands) that have proved useful.
Those scripts are supposed to be made available to your local Git installation
(either by copying them in a location on the PATH
or by defining
Git aliases) in
order to act as invokable custom Git commands.
Usage: git disseminate [A...B]
Finds all non-merged commits in A
but not in B
(that have not been
cherry-picked from B
, looking for at most 1,000 commits) that contains
!disseminate!
in their commit message, and cherry-picks them to the current
branch.
The !disseminate!
tag does not need to be at the beginning of a new line and
can appear anywhere in the commit message body (as well as in the subject).
When git disseminate
is called with no arguments, A
defaults to master
and B
to the current branch.
Usage: git gc-all-ferocious
Performs a very aggressive GC! Beware of data loss!