é©å½ã«git add .ã¨ãã£ã¦ããã¨ãã°ããdb/development.sqlite3ãããtreeã«å ¥ã£ã¦ãã¾ã£ã¦å°ãã ããããã¨ãã¯ã git diff --cached ã§commitããããã¨ãã¦ããå 容ã確èªãã¦ã ä¸è¦ãªãã¡ã¤ã«ãè¦ã¤ãããã git rm --cached <ãã¡ã¤ã«å> git rm -r --cached <ãã©ã«ãå> ã¨ãã£ã¦treeããåé¤ããï¼ãã¡ã¤ã«èªä½ã¯FSä¸ã«æ®ãï¼ ããã¦git commitã ãã£ããã 追è¨ã¨è¨æ£2011/09/26 以ä¸ã®ã³ãã³ãã®æ¹ããééãããªãã¦è¯ãã§ãã git reset HEAD -- <ãã¡ã¤ã«å> ããã¯ãç´æçã«è¨ãã¨ãç¾å¨ã®ãã£ã¬ã¯ããªã®å 容ã¯å¤æ´ããã«ãgit addãgit rmã®ãããªãgitã¸ã®å¤æ´éç¥ã ããç¡ãã£ãäºã«ããã³ãã³ãã§ãã å®ã¯ãããgit statusã§è¡¨ç¤ºãããã¡ã
{{#tags}}- {{label}}
{{/tags}}