# Cursor 一鍵 commit + message + push 快捷鍵 JSON
## Mac 完整版
```json!
{
"key": "cmd+g cmd+g",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.files.save",
"git.stageAll",
"cursor.generateGitCommitMessage",
"git.commit",
"git.push"
]
}
}
```
## Windows 完整版
```json!
{
"key": "ctrl+g ctrl+g",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.files.save",
"git.stageAll",
"cursor.generateGitCommitMessage",
"git.commit",
"git.push"
]
}
}
```
## Mac 不用幫我 Push 版
```json!
{
"key": "cmd+g cmd+g",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.files.save",
"git.stageAll",
"cursor.generateGitCommitMessage",
"git.commit"
]
}
}
```
## Windows 不用幫我 Push 版
```json!
{
"key": "ctrl+g ctrl+g",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.files.save",
"git.stageAll",
"cursor.generateGitCommitMessage",
"git.commit"
]
}
}
```