Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Last active December 16, 2024 08:21
Show Gist options
  • Save ThaddeusJiang/f08597fdc38b60b90e270bd639f28e12 to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/f08597fdc38b60b90e270bd639f28e12 to your computer and use it in GitHub Desktop.
使用 VSCode 作为 git commit 编辑器
  1. 在 VSCode 中执行👇 在 VSCode 中执行 >shell command: Install 'code' command in PATH VSCode install code

  2. 在命令行执行👇

$ git config --global core.editor "code --wait"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment