gitã®ã³ãã³ãã«ã¨ã¤ãªã¢ã¹ãå®ç¾©ãã
svnã¯ã©ã¤ã¢ã³ãã¿ããã«commitã¯ciãããããcheckoutã¯coããããã ï¼
git configã§ã¨ã¤ãªã¢ã¹ãå®ç¾©ãã ãã®ï¼
git configã³ãã³ãã§å®ç¾©ãããªããããªæã
- ciã§commitã®ã¨ã¤ãªã¢ã¹ãå®ç¾©ãããªã
$ git config alias.ci commit
- ãªãã·ã§ã³ä»ã«ãããªãã¯ã©ã¼ãã§å²ã
$ git config alias.ad "add --all"
- ä½æ¥ããç°å¢ã®å ¨ãªãã¸ããªã§ã¨ã¤ãªã¢ã¹ãå®ç¾©ãããªã--globalãªãã·ã§ã³ãä»ãã¦
$ git congi --global alias.co checkout
git configã§ã¨ã¤ãªã¢ã¹ãå®ç¾©ãã ãã®ï¼
.git/configãã¡ã¤ã«ãç´æ¥ç·¨éãã¦ãããã
- configã®æ«å°¾ã«ä»¥ä¸ãã³ããããã°ãã®ï¼ã¨åãããã«ãªã(--globalã«ãããªã~/.gitconfig)
[alias] ci = commit ad = add --all co = checkout