From d9d10e3704a61668823e55c46d6b3b6bb0d7fd76 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 29 Oct 2024 20:08:18 +0900 Subject: [PATCH] Add git alias sut --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 48ab734..7830c1b 100644 --- a/Makefile +++ b/Makefile @@ -346,6 +346,7 @@ endif #$(git_conf) alias.snap '! gitdir="`git rev-parse --git-dir`" && export GIT_INDEX_FILE="$$gitdir"/snapshot.index && cp -pf "$$gitdir"/index "$$GIT_INDEX_FILE" && git add -Av && : >>"$$gitdir"/logs/refs/snapshot && git update-ref refs/snapshot $$(git commit-tree $$(git write-tree) -m Snapshot -p HEAD) && git show --stat snapshot' $(git_conf) alias.snap snapshot $(git_conf) alias.pr checkout-pr + $(git_conf) alias.sut set-upstream-to $(git_conf) alias.setcmd '! f(){ git config alias.$$1 "! $$2"; }; f' $(git_conf) alias.make '!make'