Open yhw-miracle opened 5 years ago
.gitignore是一种隐藏文件,用于git文件系统提交时,设置忽略文件。
.gitignore
git
在git文件系统中,不同分支相互独立,可以在不同分支设置不同文件忽略提交方式。
注意点;
git status
.gitignore
是一种隐藏文件,用于git
文件系统提交时,设置忽略文件。在
git
文件系统中,不同分支相互独立,可以在不同分支设置不同文件忽略提交方式。注意点;
.gitignore
文件里,而且同一git
文件系统中不同分支的.gitignore
文件这部分内容应该相同,如编译器编译生成的文件。.gitignore
文件内容要相同。.gitignore
文件里,如编译器自动生成的文件、个人调试的文件。git
文件系统不能只看可视化软件的提示,一定要依据git status
命令。