From 5a71f43b6a2da5a9bafcd7b2c9b6c5bd3177186a Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 6 Mar 2017 15:38:14 +0000 Subject: adds support to amend the top commit in a repo --- testing/library.yarn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testing') diff --git a/testing/library.yarn b/testing/library.yarn index c3803b4..6facf2a 100644 --- a/testing/library.yarn +++ b/testing/library.yarn @@ -198,6 +198,8 @@ Admin repo manipulation $GTT rungit "$MATCH_1" "$MATCH_4" commit --allow-empty -m "Apply $MATCH_3 content change" \ >>"$DATADIR/stdout" 2>>"$DATADIR/stderr" + IMPLEMENTS WHEN ([a-z][a-z0-9]*) amends ([^ ]+) with (.+) + $GTT rungit "$MATCH_1" "$MATCH_2" commit --amend -m "$MATCH_3" Specific commands ----------------- -- cgit v1.2.1