Closed chenfei-hnu closed 4 years ago
husky在使用sourcetree的时候不生效 1.macOS的GUI应用 /usr/local/bin没有默认在PATH中,可以通过在终端中执行命令sudo launchctl config user path "/usr/local/bin:$PATH" 然后重启电脑 2.重启后可能出现命令执行commit也不能触发husky的情况,需要在项目中重新安装husky
快捷键 mac Command+Shift+. 可以显示隐藏文件、文件夹
husky在使用sourcetree的时候不生效 1.macOS的GUI应用 /usr/local/bin没有默认在PATH中,可以通过在终端中执行命令sudo launchctl config user path "/usr/local/bin:$PATH" 然后重启电脑 2.重启后可能出现命令执行commit也不能触发husky的情况,需要在项目中重新安装husky
快捷键 mac Command+Shift+. 可以显示隐藏文件、文件夹