rwh

1.1.0 • Public • Published

Rebase With History David DM npm version

Simple tool that adds the picked commit into the commit message

Installation

npm i -g rwh

WTF?

Fan of git rebase but you do not want to loose the original commit since people complained on it on github? rwh has your covered.

It is a simple wrapper around the git rebase command, that will temporarily replace your $GIT_EDITOR with a automated one. This "editor" will reword the original commit and insert a new paragraph with the original commit sha1 reference. You use it the same way as with git, i.e. rwh master. It can be run multiple times.

Usage: rwh [branch]
       rwh [--option]

Options:
  -h, -?, --help  Show help                            [boolean]
  --continue      Continue the rebase operation        [boolean]
  --skip          Skip the current commit and continue [boolean]
  --next          Commits the current index and continue the rebase operation [boolean]
  --version       Show version number                  [boolean]

Example

commit 53a499cb36d75446f4bcbcc5c80f6abb8e78f361
Author: nitriques <nitriques@users.noreply.github.com>
Date:   Tue Jun 13 22:34:25 2017 -0400

    Better usage message
    
    Picked from 46f4bcbcc
    

Requirements

  1. Bash
  2. Node

LICENSE

MIT
Made with love in Montréal by Deux Huit Huit
Copyrights (c) 2018

Readme

Keywords

Package Sidebar

Install

npm i rwh

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

7.13 kB

Total Files

5

Last publish

Collaborators

  • nitriques