gitignore-boilerplatesï¼é·ãã®ã§ä»¥å¾giboã¨å¼ã³ã¾ãï¼ã¨ãã便å©ãªãã¼ã«ãç´¹ä»ãã¾ããããã¯.gitignoreã®ã²ãªå½¢ãä½ã£ã¦ããããã®ã§ãã
ããå°ã詳ãã説æããã¨ãgiboã¯æ§ã
ãªOSã»ã¨ãã£ã¿ã»è¨èªã»ãã¬ã¼ã ã¯ã¼ã¯ãªã©ã«ç¹åãããã¡ã¤ã«ã®æ
å ±ãå©ç¨ãã¦ãè¤æ°ç°å¢ãèæ
®ãã.gitignoreãä½ã£ã¦ããã¾ãã
.gitignoreã«å ¥ããããã¡ã¤ã«ã¯ç°å¢ãã¨ã«å¤ãã£ã¦ããããã§ãããå人ãcommitããããªããã¡ã¤ã«ã®åå¨ã«æ°ã¥ããã³ã«ãããã.gitignoreã«è¿½è¨ãã¦ããã®ã£ã¦æ¬å½ã«ç¡é§ã ã¨æããã§ããããgiboã¯ãããèªååãã¦ãããã¨ããããã§ãã
ä¾ãã°ãWindowsã¨MacOSXã®2ç°å¢ãEmacsã¨vimã®2ã¨ãã£ã¿ã使ã人ãããCè¨èªã®ããã¸ã§ã¯ãã§ããã°ã次ã®ããã«ãã¦.gitignoreãä½ããã¨ãã§ãã¾ãã
$ gibo Windows OSX Emacs vim C >> .gitignore
ãã®çµæã¯æ¬¡ã®ããã«ãªãã¾ããã»ã¼æå¥ã®ãªãå
容ã ã¨æãã¾ããããããã§ããããã
### /Users/hnw/.gitignore-boilerplates/Global/Windows.gitignore # Windows image file caches Thumbs.db ehthumbs.db # Folder config file Desktop.ini # Recycle Bin used on file shares $RECYCLE.BIN/ ### /Users/hnw/.gitignore-boilerplates/Global/OSX.gitignore .DS_Store .AppleDouble .LSOverride Icon # Thumbnails ._* # Files that might appear on external disk .Spotlight-V100 .Trashes ### /Users/hnw/.gitignore-boilerplates/Global/Emacs.gitignore *~ \#*\# /.emacs.desktop /.emacs.desktop.lock .elc auto-save-list tramp .\#* # Org-mode .org-id-locations *_archive ### /Users/hnw/.gitignore-boilerplates/Global/vim.gitignore .*.sw[a-z] *.un~ Session.vim .netrwhist ### /Users/hnw/.gitignore-boilerplates/C.gitignore # Object files *.o # Libraries *.lib *.a # Shared objects (inc. Windows DLLs) *.dll *.so *.so.* *.dylib # Executables *.exe *.out *.app
PHPãä¾ã«åãã°ãEclipseãNetBeansãPhpStormã¨ãã£ãçµ±åéçºç°å¢ããSymfonyãCakePHPãZendFrameworkã¨ãã£ããã¬ã¼ã ã¯ã¼ã¯ã«ã対å¿ãã¦ãã¾ããctagsãetagsã®ä½ãã¿ã°ãã¡ã¤ã«ã«å¯¾å¿ãããTagsããå¿ããã¡ãªã®ã§å©ããã¾ããã
ã¡ãªã¿ã«ããã®.gitignoreã®æ å ±ã¯GitHubå ¬å¼ã®.gitignoreãã³ãã¬ã¼ãåéãªãã¸ã㪠https://github.com/github/gitignore ããå 容ãåã£ã¦ãã¦ãã¾ãããã®ãªãã¸ããªãå å®ããã°giboã対å¿ããç°å¢ãå¢ããã¨ããããã§ãã
ãããªããã§ãããã¸ã§ã¯ãç«ã¡ä¸ãæã¯giboã§.gitignoreãä½ã£ã¡ããã¾ãããã