文件操作 - .npmignore
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/n/versions/node/12.18.0/lib/node_modules/npm/node_modules/color-name/.npmignore
编辑文件内容
//this will affect all the git repos git config --global core.excludesfile ~/.gitignore //update files since .ignore won't if already tracked git rm --cached <file> # Compiled source # ################### *.com *.class *.dll *.exe *.o *.so # Packages # ############ # it's better to unpack these files and commit the raw source # git has its own built in compression methods *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.zip # Logs and databases # ###################### *.log *.sql *.sqlite # OS generated files # ###################### .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes # Icon? ehthumbs.db Thumbs.db .cache .project .settings .tmproj *.esproj nbproject # Numerous always-ignore extensions # ##################################### *.diff *.err *.orig *.rej *.swn *.swo *.swp *.vi *~ *.sass-cache *.grunt *.tmp # Dreamweaver added files # ########################### _notes dwsync.xml # Komodo # ########################### *.komodoproject .komodotools # Node # ##################### node_modules # Bower # ##################### bower_components # Folders to ignore # ##################### .hg .svn .CVS intermediate publish .idea .graphics _test _archive uploads tmp # Vim files to ignore # ####################### .VimballRecord .netrwhist bundle.* _demo
修改文件时间
将文件时间修改为当前时间的前一年
删除文件