feat: implement moonfetch (fastfetch clone in MoonBit native)
Copilot Setup Steps / copilot-setup-steps (push) Successful in 21s
Copilot Setup Steps / copilot-setup-steps (push) Successful in 21s
This commit is contained in:
commit
ca918a4a34
21 files changed
+2129
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Git Hooks
|
||||
|
||||
## Pre-commit Hook
|
||||
|
||||
This pre-commit hook performs automatic checks before finalizing your commit.
|
||||
|
||||
### Usage Instructions
|
||||
|
||||
To use this pre-commit hook:
|
||||
|
||||
1. Make the hook executable if it isn't already:
|
||||
```bash
|
||||
chmod +x .githooks/pre-commit
|
||||
```
|
||||
|
||||
2. Configure Git to use the hooks in the .githooks directory:
|
||||
```bash
|
||||
git config core.hooksPath .githooks
|
||||
```
|
||||
|
||||
3. The hook will automatically run when you execute `git commit`
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
moon check
|
||||
Reference in new issue
Block a user