Git

查看用户名和邮箱地址:

$ git config user.name

$ git config user.email

修改用户名和邮箱地址:

$ git config --global user.name "username"

$ git config --global user.email "email"

.gitignore:

.idea/
logs
out
*.iml
.project
.classpath
.settings
*/target
*/.settings
*/.classpath
*/.project
*/*.iml
*/*.ipr
*/*.iws
*/build
.DS_Store
*/logs
*/scripts/*.pyc
*/scripts/*.*~
src/main/webapp/WEB-INF/classes
src/main/webapp/META-INF/
src/test/resources/conf_path.properties
target
.module-cache
 
.sass-cache
src/main/webapp/static/css/**/*.css*
**/gensrc/**/*Mapper.xml
**/gensrc/main/java

Git忽略规则和.gitignore规则不生效的解决办法

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。