Skip to content

albfan/git-rebase-reword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-rebase-reword

git-rebase-reword is a simple git command to change one commit (last or older) the same way as you ammend

Documentation

It is named after the action on rebase interactive to ammend a commit "reword". See this post and git rebase man -section interactive mode- ##Install

Download and symlink to your path

$ git clone https://github.com/albfan/git-rebase-reword.git
$ cd git-rebase-reword
$ ln -s $PWD/git-rebase-reword ~/bin/
$ ln -s $PWD/reword_editor ~/bin/

##Usage

$ cd <repo>
$ git rebase-reword <commit|symbolic-ref>

Examples

# reword a commit
$ git rebase-reword b68f560
# reword a reference
$ git rebase-reword HEAD^
# reword last commit
$ git rebase-reword

About

amend any git commit not only last

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages