Skip to content

Custom command for git to squash the last n commits into the previous.

Notifications You must be signed in to change notification settings

clarkbremer/git-squash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

git-squash

Custom command for git to squash the most recent n commits into the previous. Will show the commit messages of the commits to be squashed, and ask for confirmation before proceeding.

Installation

Place the file git-squash in /usr/local/git/bin and make it executable. Git will find it, and make it behave like any other git command.

Usage:

git squash 2

Will squash the 2 most recent commits into the previous commit.

About

Custom command for git to squash the last n commits into the previous.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages