Associating text editors with git

Using Notepad++ as your editors

you can set your default editor in Git to use Notepad++ if you have installed the editor.

1、install notepad++
2、open git bash
3、Type this command:

git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

when you commit, type "git commit",then you can edit your message by notepad++

reference : https://help.github.com/en/articles/associating-text-editors-with-git

相关文章:

  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-09-06
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-24
  • 2021-09-14
  • 2021-12-04
  • 2022-02-05
  • 2022-12-23
  • 2021-11-10
相关资源
相似解决方案