Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { spawnSync } from "child_process"; | |
| /** | |
| * Script to automate the git commit process with AI-generated commit messages. | |
| * It checks for staged changes, generates a commit message, and prompts the user to review or edit the message before committing. | |
| * Original source: https://microsoft.github.io/genaiscript/samples/gcm/ | |
| */ | |
| script({ | |
| title: 'Git Commit Message', |
When working with online editor, the back gesture on a Mac can become very frustrating. Here are some helpful commands disable the back gesture:
# Disable back gesture in specific apps
# Chrome
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
# FireFox
defaults write org.mozilla.firefox AppleEnableSwipeNavigateWithScrolls -bool FALSE
# Brave