社å
ã§ã¡ããã¨gitã使ã£ã¦ããã¨ï½¤ãããbranchã®å¢æ¸ãããã
fetchããã¿ã¤ãã³ã°ã«ãã£ã¦branchã®åå¨æ
å ±ããã³ãã³å
¥ã£ã¦ããã¾ãã
ãããããã®éçºbranchãåé¤ããã¦ãã
git branch -a
ã§åé¤ããã¦ããã¯ãã®branchã表示ããã¦ãã¾ãå ´åãããã¾ãã
ããã¯.git/objectsãã©ã«ãã«ã´ããªãã¸ã§ã¯ããæ®ã£ã¦ããããã§ãã
å®éã¯ã©ãã«ããªã³ã¯ãã¦ããªããªãã¸ã§ã¯ãã§ãã®ã§ãã¾ã¨ãã¦åé¤ãã¦ãã¾ãã¾ãããã
ã©ãã«ããªã³ã¯ãã¦ããªããªãã¸ã§ã¯ããå
¨ã¦åé¤ããå½ä»¤ããpruneãã§ãã
ãããªé¢¨ã«ä½¿ãã¾ãã
git fetch --prune
pruneãã¦ãé常ã¯å ¨ãåé¡ããªãã¯ãï¼ã©ãã«ããªã³ã¯ãã¦ããªããªãã¸ã§ã¯ããæ¶ãã¦ããã ããªã®ã§ï¼ã§ãã®ã§ãèªåã§ã¯fetchããéã«ã¯å¿ ãpruneãªãã·ã§ã³ãã¤ãã¦ãã¾ãã
å®éãèªç¤¾ã®éçºãã§ã¼ãºã§åé¡ãåºããã¨ã¯ä»ã®ã¨ããããã¾ããã
git fetch -p
ã§ãOK。