Git全局配置
git config --global user.name "John Doe"git config --global user.email johndoe@example.comgit config --list //然后查看自己的配置
也可以根据项目单独配置
$ git config user.name “gitlab’s Name”$ git config user.email “gitlab@xx.com”$ git config --list
.gitignore 忽略文件配置
# System.DS_Store# Package Managernode_modules# Bundle/dist*.rar# local env files.env.local.env.*.local# Log filesnpm-debug.log*yarn-debug.log*yarn-error.log*pnpm-debug.log*# Editor directories and files.idea.vscode*.suo*.ntvs**.njsproj*.sln*.sw?
