msysGitã§æ¥æ¬èªå¯¾å¿ããããã«ãã£ããã¨
ãã®è¨äºã¯ãgit-bashã¯è«¦ãã¦ã³ãã³ãããã³ããã§æ¥æ¬èªã³ã¡ã³ãã¯ã§ããã¨ããå 容ã ãã©ãgithubã§ã³ã¡ã³ããè¦ãã¨æååããã¦ãã®ã§åèã«ãªããªãã¨æãã¾ãã
msysGitãã¢ãããã¼ãããã¤ãã§ã«æ¥æ¬èªå¯¾å¿ãã§ãããããªã®ã§èª¿ã¹ãã¡ã¢ã1.5ã®ã¨ãã¯git-bash*1ã§git commit -m "æååãããã®ã§æ¥æ¬èªã³ã¡ã³ãã¯æ¬é ãã¦ã"
- æ¥æ¬èªã§ã³ã¡ã³ããããã
- æ¥æ¬èªã®ãã¡ã¤ã«åãlsã§è¡¨ç¤ºãããã
msysGitã®ãã¼ã¸ã§ã³
git 1.5.6.1-preview20080701ããGit-1.7.3.1-preview20101002ã¸ã®å¤æ´ã
msysGitã¤ã³ã¹ãã¼ã«ã§åèã«ãããã¼ã¸
- Windows用Gitをインストールしてみた: Computer Practice ä»åã¯1.7ç³»ãªã®ã§ãã¡ããã¿ãã°ããã
- msysGitでWindowsからGitを使う − @IT å¤ããã¼ã¸ã§ã³1.5ç³»ã®ã¨ãã«ã¿ãã¨ãã
æ¥æ¬èªå¯¾å¿ã§åèã«ãããã¼ã¸
çµæ
ä¸ã®ãµã¤ããåèã«ãã¦ãgit-bashã§æ¥æ¬èªã表示ãããå
¥åããäºã¯ã§ããªãã£ãã
ls --show-control-charsã§ãæ¥æ¬èªãã¡ã¤ã«ååãã¦ãã
ãããå
¥ããã°git-bashã§æ¥æ¬èªãæ±ããã¨ãã§ããã®ããªï¼è©¦ãã¦ãªãã
git-bashã¯ããããã¦
ã³ãã³ãããã³ããã§ãã£ããã©ããã
msysGitã¤ã³ã¹ãã¼ã«ããããç´ãã¦ã¿ãã
Run Git from the Windows Command Promptãé¸æãï¼ã¤ã³ã¹ãã¼ã«ãç´ããªãã¦ãGit\binã®PATHãéãã°åãã ã¨æãï¼
ããã§ã³ãã³ãããã³ããããgitã³ãã³ãã使ããããã«ãªã£ããããããã®ç¶æ
ã§git logãgit show hoge.txtããã¦ãæååããã¦ããã
ããã§å
ã»ã©ã®æ¥æ¬èªå¯¾å¿ã§åèã«ãããã¼ã¸ãããã«ããã¤ãã«å¯¾å¿ããless.exeãGit\binã«å
¥ãããããã¨ã³ãã³ãããã³ããããæ¥æ¬èªãã¡ããã¨è¡¨ç¤ºãããããã«ãªã£ãããã¨ããåãããªãnkf.exeãè¨å®ãã¡ã¤ã«ãä¸å¿ãã£ã¦ãããã
æé ã¾ã¨ã
- msysGitãRun Git from the Windows Command Promptã§ã¤ã³ã¹ãã¼ã«ã
- Downloading lessã®less.exeã®ãã¤ããªããã¦ã³ãã¼ããã¦Git\binã«ä¸æ¸ãã
- nkf.exe ããã¦ã³ãã¼ããã¦Git\binã«å ¥ããã
- Git\etc\inputrcã¨profileããµã¤ããåèã«ããªããç·¨éãæå³ãããã®ããæåã³ã¼ããæªãå¤ãããä½è¨ãªãä¸è©±ãã¦ãªããä¸å®ã
ããã§ã³ãã³ãããã³ããããGitã§æ¥æ¬èªãæ±ããããã«ãªã£ãã
ã¡ãªã¿ã«
ã³ãã³ãããã³ãããªã©ã§æ¥æ¬èªãå ¥åããã«ã¯Alt+åè§
*1:msysGitãã¤ã³ã¹ãã¼ã«ããã¨ä»ãã¦ããgitæä½ããã½ãã