2014å¹´05æ19æ¥10:17 Git gitã®æ´å²ä¸ããpasswordãå®å ¨ã«åé¤ããã git ã§ç®¡çãã¦ããããã¸ã§ã¯ãã§ããã£ããã¾ã£ããã¹ã¯ã¼ããç´ãè¾¼ãã§ãã¾ã£ãâ¦ï¼ãã¿ãããªãã¨ããã£ã¦ãã©ããããããããã¼ï¼ï¼ãã¨æã£ã¦ãããã§ãããgit filter-branch ã¨ããæå¼·ã®ã³ãã³ãã使ãã°ãªãã¨ããªããã§ããã ä»å㯠PASSWORD ã¨ããæååãå«ãè¡ã git ã®æ´å²ä¸ããå®å ¨ã«åé¤ããã¨ããã®ããã£ã¦ã¿ã¾ãããsed -e '/xxx/d' ã xxx ã¨ããæååãå«ãè¡ãåé¤ (delete) ããã³ãã³ãã§ãã git filter-branch --tree-filter "find . -type f -exec sed -i '' -e '/PASSWORD/d' {} \;" ãããã㨠PASSWORD ã¨ããæååãå«ãè¡ã®çè·¡ãå¥éº
{{#tags}}- {{label}}
{{/tags}}