/git-smash

squashes feature branch in one commit preserving master Change-Id for gerrit

Primary LanguageRubyGNU Lesser General Public License v3.0LGPL-3.0

git-smash

squashes feature branch into one commit preserving master Change-Id for gerrit

Put into $PATH (e.g. /usr/local/bin)

Usage:

  1. Create feature branch
  2. Multiple commits
git smash master

'master' is your parent branch here.