Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash -e
#
# git-fixup - creates a fixup commit and squashes it into the given commit using a rebase.
#
# Usage:
# git fixup <commit> [args...]
#
# Options:
# <commit> The commit to "fix up".
# [args...] These arguments are passed verbatim to git-rebase.