These are some useful git porcelain scripts I've been using. Some of the older ones support both git and git-svn repos.
- Clone this repository somewhere
- Add the new
git-extras
directory to yourPATH
- You can now use the included git commands without the dash, since
git
defers its first argument togit-
scripts you've installed.
Lists commits you haven't pushed to your remote yet, in a quick one-line
format. Optionally accepts same arguments as git-log
. Assumes "origin" is
the remote if no branch.<current>.remote
configuration exists (or "trunk"
for repositories that seem to have git-svn remotes).
Runs command
against a checkout of each commit you haven't pushed to the
remote yet. Handy for running an automated test suite against each of your
changes. Stops early if the command returns a non-zero status code.
Removes branches on a remote that are subsets of its master branch, then also deletes local copies of those branches if they exist. Handy for removing old topic branches that you've already merged.