git config

简介:

git config --global core.whitespace  cr-at-eol
               cr-at-eol treats a carriage-return at the end of line as part of the line terminator, i.e. with it, trailing-space does not
               trigger if the character before such a carriage-return is not a whitespace (not enabled by default).
        去掉git提交时出现很多^M提示符,


git config --global core.filemode false
         git 提交时忽略文件权限,该值默认是true

目录
相关文章
|
开发工具 git 索引
怎么取消对project.private.config.json这个文件的git记录
通过以上步骤,您可以成功取消对 `project.private.config.json`文件的Git记录。这样,文件将不会被包含在未来的提交中,同时仍保留在您的工作区中。
517 28
|
开发工具 git
*** Please tell me who you are.Run git config --global user.email “you@example.com“ git confi
*** Please tell me who you are.Run git config --global user.email “you@example.com“ git confi
|
网络安全 开发工具 git
git config 查看,设置,删除项
git config 查看,设置,删除项
git config 查看,设置,删除项
|
Shell 开发工具 git
Git使用commit命令时报错“bad numeric config value ‘ture‘ for ‘color.ui‘: invalid unit”(已解决)
Git使用commit命令时报错“bad numeric config value ‘ture‘ for ‘color.ui‘: invalid unit”(已解决)
424 0
Git使用commit命令时报错“bad numeric config value ‘ture‘ for ‘color.ui‘: invalid unit”(已解决)
|
开发工具 git
Git:查看config配置文件
Git:查看config配置文件
342 0
Git:查看config配置文件
|
开发工具 git
Git - 修改 Config 配置用户名和邮箱
Git - 修改 Config 配置用户名和邮箱
653 0
Git - 修改 Config 配置用户名和邮箱
|
开发工具 git
error: could not lock config file .git/config: Permission denied/Command failed with exit 255
error: could not lock config file .git/config: Permission denied/Command failed with exit 255
1263 0
|
算法 安全 Java
微服务(四)-config配置中心的配置加解密
微服务(四)-config配置中心的配置加解密
|
JavaScript
Vue3基础(19)___vite.config.js中配置路径别名
本文介绍了如何在Vue 3的Vite配置文件`vite.config.js`中设置路径别名,以及如何在页面中使用这些别名导入模块。
1097 0
Vue3基础(19)___vite.config.js中配置路径别名
|
移动开发 JavaScript 前端开发
UniApp H5 跨域代理配置并使用(配置manifest.json、vue.config.js)
这篇文章介绍了在UniApp H5项目中处理跨域问题的两种方法:通过修改manifest.json文件配置h5设置,或在项目根目录创建vue.config.js文件进行代理配置,并提供了具体的配置代码示例。
UniApp H5 跨域代理配置并使用(配置manifest.json、vue.config.js)