What happens when you type git diff? As with all interesting questions, the answer is âit dependsâ¦â Hereâs one thing you want git to do: Vimdiff! Step 1: add this to your .gitconfig
blockdiff.vimã¹ã¯ãªããã¯ãé¸æãã2ã¶æã®ãããã¯ã®ããã¹ãã®æ¯è¼æ©è½ãæä¾ããã¹ã¯ãªããã§ãã æ¯è¼å¯¾è±¡ã¨ãã2ã¶æã®ãããã¯ã¯ãåããã¡ã¤ã«å ã«ãã£ã¦ããå¥ã®ãã¡ã¤ã«ã«ãã£ã¦ãæ§ãã¾ããã åããã¡ã¤ã«å ã®ä¼¼ããããªã³ã¼ããæ¯è¼ããã®ã«ãå½¹ç«ã¡ã¾ããã é¸æããç¯å²ã®ããã¹ãã ãã§æ¯è¼ãè¡ãããå ´åã«ãå½¹ã«ç«ã¤ã§ãããã (Windows) æ¦è¦ BlockDiff : Difference between two blocks (functions etc...) http://www.vim.org/scripts/script.php?script_id=2048 blockdiff.vimã¹ã¯ãªããã¯ãé¸æãã2ã¶æã®ãããã¯ã®ããã¹ãã®æ¯è¼æ©è½ãæä¾ããã¹ã¯ãªããã§ãã æ¯è¼å¯¾è±¡ã¨ãã2ã¶æã®ãããã¯ã¯ãåããã¡ã¤ã«å ã«ãã£ã¦ããå¥ã®ãã¡ã¤ã«ã«ãã£ã¦ãæ§ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}