Command to open file with git

后端 未结 18 1646
滥情空心
滥情空心 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:43

    You can use the git command line as a terminal my dude you just know the commands are bash To create a file

    touch file.txt
    

    To open a file

    code file.py 
    atom file.py
    start file.py
    

    ect

    To open your current folder and everything inside of it in your text editor

    code . 
    

    To make a folder

    mkdir folder1 folder2 folder3 
    

    You can make as many as you want at once this works with touch to

提交回复
热议问题