git unwip

Alias for uncommit “work in progress”

Git alias:

unwip = !"git log -n 1 | grep -q -c wip && git reset HEAD~1"

Example:

git unwip

Compare: