#!/usr/bin/env bash
## Quicker way to assign credit to another author on the latest commit.
## Source: git-extra-commands

#
# A very slightly quicker way to credit an author on the latest commit.
#
# $1 - The full name of the author.
# $2 - The email address of the author.
#
# Examples
#
#   git credit "Zach Holman" zach@example.com
#

git commit --amend --author "$1 <$2>" -C HEAD
