git-fixup

command module
v0.0.0-...-d4d5e16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 6 Imported by: 0

README

git-fixup

$ go get -u akhil.cc/git-fixup

usage:
	git-fixup [--root] [HEAD~N]
	git-fixup edit filename

Squash the last N commits of the current branch into a single commit. This tool automatically performs an interactive rebase for you with either HEAD~N, to specify the last N commits, or --root to go to the initial commit. For instance, if git fixup HEAD~3 is specified, it automatically applies the following:

reword AAAAAAA Message
fixup  BBBBBBB Message
fixup  CCCCCCC Message

This gives you a chance to reword the oldest of the N commits.

git-fixup edit is the entrypoint for the GIT_SEQUENCE_EDITOR that applies edits to the interactive rebase on your behalf.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL