GitXplorerGitXplorer
c

git-extras

public
5 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
9b0827c6a0a797755e28d68e67670b65d131f907

Update docs

cchrisk committed 13 years ago
Unverified
2dae4c7c525829778beb1befe10c607a1654f580

Make trimbranches use the right remote when there's more than one

cchrisk committed 13 years ago
Unverified
7c9f1fb7a00ad228127fa61d343e10432d30327b

Update year

cchrisk committed 13 years ago
Unverified
04ac774a7ebbe5329e5f187e61b700824ad5e389

Skip branches like 'staging1' in addition to 'staging'

cchrisk committed 14 years ago
Unverified
72cc8d9e1b49817b3a163e5dc13a33cb16441f5e

Fetch, then prune remote branches first

cchrisk committed 14 years ago
Unverified
31b7c4fd98a747ae9229056a8235ef1a62edfe8f

Rename git-test-notpushed to git-test-unmerged

cchrisk committed 14 years ago

README

The README file for this repository.

Git extras

These are some useful git porcelain scripts I've been using. Some of the older ones support both git and git-svn repos.

Installation

  1. Clone this repository somewhere
  2. Add the new git-extras directory to your PATH
  3. You can now use the included git commands without the dash, since git defers its first argument to git- scripts you've installed.

Usage

git notpushed

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).

git test-notpushed [command]

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.

git trimbranches

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.