git使用相关问题

问题:

更新ssh key之后,遇到"Host key verification failed."

解决:

删除本地旧的“known_hosts”文件

问题:

git commit无法生成change id

解决:

有可能是加密软件问题

git config --global core.editor “‘D:/Notepad++/notepad++.exe’ -nultiInst -notabbar -nosession -noPlugin”
git config --global diff.tool bc4
git config --global difftool.prompt false
命令行配置会有问题,有待解决
git config --global difftool.bc4.cmd ““D:/Beyond Compare 4/BCompare.exe” “KaTeX parse error: Can't use function '\"' in math mode at position 6: LOCAL\̲"̲ \"REMOTE””

git diff --name-only | xargs tar -czvf diff.tar.gz

[core]
editor = ‘D:/Notepad++/notepad++.exe’ -nultiInst -notabbar -nosession -noPlugin
[diff]
tool = bc4
[difftool]
prompt = false
[difftool “bc4”]
cmd = ““D:/Beyond Compare 4/BCompare.exe” “KaTeX parse error: Can't use function '\"' in math mode at position 6: LOCAL\̲"̲ \"REMOTE””

你可能感兴趣的:(git)