Sha256: 530674ea48af0188f6b904b70bb1cc6f5f04ce7d07e03c1354a7e6391c227b0e

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

# git-crecord

Inspred by [crecord mercurial extension](https://bitbucket.org/edgimar/crecord/wiki/Home), git-crecord is an easy way for partially committing/staging of git changes.

![Screenshot](/screenshot.jpg?raw=true)

## Installation

```shell
$ gem install git-crecord
```

## Usage

```shell
$ git crecord
```

Key-bindings:
```
  q      - quit
  s      - stage selection and quit
  c      - commit selection and quit
  j / ↓  - down
  k / ↑  - up
  h / ←  - collapse hunk
  l / →  - expand hunk
  f      - toggle fold
  g      - go to first line
  G      - go to last line
  C-P    - up to previous hunk / file
  C-N    - down to next hunk / file
  SPACE  - toggle selection
  A      - toggle all selections
  ?      - display help
  R      - force redraw
```

## Configuration

```shell
# configure tab-width to four spaces, default is two spaces:
$ git config --global crecord.tabwidth 4
```

## Development

```shell
$ git clone https://github.com/mbrendler/git-crecord
$ cd git-crecord
$ bundle install
$ ln -s bin/git-crecord /usr/bin/git-crecord
```

Tests:
```shell
$ bundle exec rake test
$ bundle exec rake systemtest
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-crecord-1.0.5 README.md