Skip to content

Commit

Permalink
Tweak README formatting to look better on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyball committed Dec 23, 2014
1 parent e28c06c commit c68717f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,49 +22,49 @@ set PATH path/to/git-scripts $PATH
Every script can be invoked as a git subcommand such as `git dirs`. Every script
should respond to the `-h` flag with its expected parameters and options.

# Scripts
## Scripts

## `git-close-current-branch`
### `git-close-current-branch`

Closes the current branch if it's been merged into the mainline. Intended usage
is after a pull request for the current branch has been merged into mainline and
the remote branch deleted. See `git close-current-branch -h` for details.

## `git-close-merged`
### `git-close-merged`

Closes all local branches that have been merged into HEAD (or a specified
branch). This command is upstream-aware, and can be instructed to close remote
branches as well. See `git close-merged -h` for details.

## `git-dirs`
### `git-dirs`

Prints a list of the most recently checked-out branches. See `git dirs -h` for
details.

## `git-find-merge`
### `git-find-merge`

Finds the oldest merge in the first-parent history of a given branch that a
given commit is reachable from. This can be said to be the merge that introduced
a commit into a given branch. See `git find-merge -h` for details.

## `git-find-tree`
### `git-find-tree`

Finds the full path to a given filename path in a given tree-ish. This may
optionally produce output that refers to the file's blob, for use with other git
commands. See `git find-tree -h` for details.

## `git-fugitive`
### `git-fugitive`

Displays a given revision or file in [vim-fugitive][]. See `git fugitive -h`
for details.

[vim-fugitive]: https://github.com/tpope/vim-fugitive

## `git-noninteractive`
### `git-noninteractive`

This is a work in progress. I don't think it works at the moment.

## `git-update-branch`
### `git-update-branch`

Updates a given branch to match its upstream. See `git update-branch -h` for
details.

0 comments on commit c68717f

Please sign in to comment.