git
.gitconfig ãã使ããµãã³ãã³ãã¯ã¨ã¤ãªã¢ã¹è²¼ããlogããããã«è¦ããã®ã§git treeã¯ããããã [alias] ch = checkout co = commit st = status br = branch hist = log --pretty=format:\\\"%h %ad | %s%d [%an]\\\" --graph --date=short tree = log -â¦
xcodeãèªåã§ä½ããã¡ã¤ã«UserInterfaceState.xcuserstateãrunãã度ã«æ´æ°ããããç¡è¦ãããã®ã§ã.gitignoreã«æ¸ããã.gitignore hogeproject.xcodeproj/project.xcworkspace/xcuserdata/akiniwa.xcuserdatad/UserInterfaceState.xcuserstateããæ¸ãâ¦
bare(ãã¢)ã¬ãã¸ã㪠gitã®ã¬ãã¸ããªã«ã¯bareã¬ãã¸ããªã¨éçºã¬ãã¸ããªãããã bareã¬ãã¸ããªã§ãã¡ã¤ã«ã追å ããããcommitãããã£ã¦ãã¨ã¯ããªãã ã¨ãããbareã¬ãã¸ããªã§ä½æ¥ãããã¨ã¯ãªããããããä½ã®ããã«ä½¿ããã¨ããã¨ããªã¢ã¼ãã¬ãâ¦
git add . å ¨ã¦ã®æ´æ°ãindexã«è¿½å git commit -m "comment" indexã®å¤æ´ãbranchã«è¨é²git status commitéã®å¤æ´ã表示git log å ¨ã¦ã®commitå±¥æ´ã表示git branch -a å ¨ã¦ã®branch(ãã¼ã«ã«ã¨ãªã¢ã¼ã)ã表示git checkout [branch] branchã®åãæ¿ãgit châ¦