Command to open file with git

后端 未结 18 1316
滥情空心
滥情空心 2021-01-30 04:05
  • I have sublime text as the default editor in git (and it works)
  • git config --edit opens the config file in sublime text (Awesome)
18条回答
  •  悲哀的现实
    2021-01-30 04:39

    To open a file in Sublime Text,

    Here is an example for opening a sample text file in Sublime Text editor

    subl .txt
    

    subl is previously created as an alias name,containing the directory file, using the "echo" command in Git Bash shell.

提交回复
热议问题