From 3c46e21b343a0bf72df9167d5e597194d18b81d3 Mon Sep 17 00:00:00 2001 From: Danilo Cesa Date: Wed, 20 May 2026 08:54:23 +0800 Subject: [PATCH] refactor: update git trigger --- .gitignore | 1 + match/.DS_Store | Bin 6148 -> 6148 bytes match/git.yml | 131 +++++++++++++++++++++--------------------------- 3 files changed, 57 insertions(+), 75 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/match/.DS_Store b/match/.DS_Store index 404efbf7d3aa1a1299d19c1fccca39ab024b6fda..423c7fdb4cac2f25d1a47f23512b16d166c6fe75 100644 GIT binary patch delta 332 zcmZ{gF%E)25Jmq2k<|tZq*gl%31=`i_Fe#x7$XJ&8!IU&EkqAt>&nIKEOk~22#K3a zc9Q@8%+KUb?p!QI=@zk7*rP!Q00a7fjU#pl7h&WJac3u~aCmT$B50~!7CJzu~2NHo}wrt0|NsP3otMwGNd!4G8Cs2C+AEoRA*$Ie2z(BvkLQL rmdyst6-=AiIruq%+BPdPe`lV|FQUr{(s=-g87ABCNN" # Undo last commit (keep changes) - - trigger: "}gundo" + - trigger: "}gitundo" replace: "git reset --soft HEAD~1" # Undo last commit (discard changes) - - trigger: "}gundohard" + - trigger: "}gitundohard" replace: "git reset --hard HEAD~1" # Remove untracked files (CAREFUL!) - - trigger: "}grmuntracked" + - trigger: "}gitrmuntracked" replace: "git clean -fd" # See what branch you're on - - trigger: "}gcurrbranch" + - trigger: "}gitcurrbranch" replace: "git branch --show-current" # List all branches with last commit - - trigger: "}gbrl" + - trigger: "}gitbrl" replace: "git branch -vva" # Find deleted branches - - trigger: "}gbrd" + - trigger: "}gitbrd" replace: "git branch --merged | egrep -v \"(^\\*|main|master|develop)\"" # === GIT IGNORE === # Add to .gitignore - - trigger: "gignore" + - trigger: "}gitignore" replace: 'echo "$1$" >> .gitignore' # Common .gitignore entries - - trigger: "ignode" + - trigger: "}gitignode" replace: "node_modules/\n.env\nnpm-debug.log" - - trigger: "igpython" + - trigger: "}gitpython" replace: "__pycache__/\n*.pyc\n.env\nvenv/\n.venv/\n*.egg-info/" - - trigger: "igidea" + - trigger: "}gitidea" replace: ".idea/\n*.iml\n.vscode/\n.DS_Store" - - trigger: "igbuild" + - trigger: "}gitbuild" replace: "dist/\nbuild/\n*.o\n*.obj\n*.exe\n*.dll\n*.so\n*.dylib"