git hook 及颜色配置

git hook 及颜色配置

https://www.atlassian.com/zh/git/tutorials/git-hooks
https://www.freecodecamp.org/chinese/news/git-hooks-script/

https://git-scm.com/book/zh/v2/自定义-Git-Git-钩子

https://blog.csdn.net/zstack_org/article/details/53100257

/git_hook

.gitmessage
commit-message
install.sh

默认情况下git是黑白的。

git config --global color.status auto 
git config --global color.diff auto 
git config --global color.branch auto 
git config --global color.interactive auto

配置之后,就有颜色了。

posted @ 2023-05-22 16:52  michaelchengjl  阅读(22)  评论(0编辑  收藏  举报