git
initããã¨ãã«--sharedãã¤ãã¦ããã¨ï¼ããã©ã«ãã§ã¯ï¼åæã«g+wãã¦ããã ãã¨ã¯å ±æããã人ãå ¨å¡ãããªãã°ã«ã¼ãå ãã¨ãã°OKä¾ãã°gitã¨ããã°ã«ã¼ããä½ã£ã¦å ±æããå ´å $ sudo addgroup git $ sudo gpasswd -a [user] git ([user]ãå ãããã¦â¦
ã¯åºæ¬çã«ã¯åºæ¥ãªãããã§ãã ãªããæã®ããã¥ã¢ã«ã«ã¯ããããããã®ãããã®ã ããã©ãç¾å¨ã¯git svn show-externalsãæ®ã£ã¦ããã ãã§ã確èªã¯ã§ãããã®ã®èªåã§ã¬ã¬ã¼ã£ã¨åã£ã¦æ¥ãã¦ãsubmoduleã«ãªããªãã¦ã®ã¯å¤¢ç©èªãªã®ã§ãã # å®ã¯åºæ¥ããâ¦
æ¨æ¥ã®ç¶ãã§ç 究室å ã§ããããããªãããããªãã£ãã®ã§Gitã®åå¼·ãã¦ã¾ãããä»åå¿ è¦ã ã£ãã®ã¯ãpushãããèªåã§tarãã¼ã«ãä½ã£ã¦ããã®ãªã¹ããHTMLåãã¦å ¬éããã¨ãããã¨ã§ãããèªååã«ã¤ãã¦ã¯ããã¯ã使ãã°ããããHTMLåãRubyã§ã¹ã¯ãªãâ¦
ä»ã®*-users.jpã«ç¿ã£ã¦è¦åãçºé²http://www.lingr.com/room/git-users.jp
Gitããã¯ããã¤ãã®ã¿ã¤ãã³ã°ã§å¥½ããªå¦çãããã¯ã§ããè³¢ãåã§ãã $GIT_DIR/hooksé ä¸ã«ã¿ã¤ãã³ã°ãã¨ã®ã¹ã¯ãªãããç¨æããã¦ãã¦ããããæ¸ãæãããã¨ã§ä»»æã®å¦çãè¡ããããã¨ãåºæ¥ã¾ã. ã¿ã¤ãã³ã°ãªã©ã®è©³ãã説æã¯man githooksã«æ¸ããâ¦
èé(id:secondlife)ããããããã¦ãã®ãã¿ã¦ä»¥æ¥ããã£ã¨ãã£ã¦ã¿ããã£ãã®ã§ãã£ã¦ã¿ããæåããã¿ã¦ãã£ã¦ãã®ã§ãããç°å¢å¤æ°ã使ãã®ãæ°ã«å ¥ããªãã£ãã®ã¨ãgitãªãã¸ããªãããªããã£ã¬ã¯ããªã ã¨ãä½è¨ãªæåãå ¥ã£ã¦ãã¾ãã®ãæ¶ããªãã£ãã®â¦
.gitconfigã®aliasã«ä»¥ä¸ã®ä¸æã追å moo = !apt-get mooapt-get mooãå¼ãã§ãã ãã ãã©ããã㧠$ git commit -a -m 'add: super_cow.c' $ git moo (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"... $ git pushã¨ãåºæ¥ãã
gitã§Subversionã®ãªãã¸ããªã®ãã§ãã¯ã¢ã¦ã $ git svn clone /path/to/repositoryæã£ã¦ãããç°¡åã§ãããã¢ã«ã¦ã³ãåã¯ã¯ãã使ã£ã¦ã端æ«ã®ã¢ã«ã¦ã³ãã«ãªã£ã¦ãã¾ããã空ã¨ã³ã¿ã¼ã§å度èãç´ãã¦ããã¾ãã ããã§ã¯ã¾ã£ã¦ç¦ãã¾ããã
ç 究室ã®ä½ã£ã¦ããPCãLANåãã®ãµã¼ãã«ããããã«ãã«ããã«ããDebianã®å ¥ãç´ãã¨ããã¦ã¾ããã ãªããï¼åã«ä¸åãããããèµ·åããªãã¦ããããããªããSambaããã¾ãåããªãã¦ããã¼ãï¼Sambaã¯æªã ã«åããªããããå ¥ããªãã¦ãè¯ãã¨æã£ã¦ããâ¦
id:secondlifeããã¨ãid:motemenããã«ãããã夫ã§å¦ã¶ç git tutorial http://github.com/hotchpotch/yaruo/tree/masterããããããçºå±ããããã ãããªã¨é度ã®æå¾ ãããã¦ãã¾ãããã¨ãgit-update-indexãã¯ããã¦ç¥ãã¾ãããgit-addã¨ã¯ã©ã®ã¸ãâ¦
small, medium, largeYes, git!
ä»åã¯ã¿ã°ããã©ã³ãã«ã¤ãã¦æ¸ãã¾ãã ã¿ã°ãã¤ãã ã¿ã°ã¯ååã¿ãããªãã®ã®ãã¨ã§ããæ£ç¢ºã«ã¯ç¾å¨ã®ç¶æ ã¸ãªãã¸ã§ã¯ãã¸ã®åç §(ref)ãæãã¾ããã¿ã°ãã¤ãããã¨ã«ãã£ã¦SHA1ããã·ã¥ãããã¯ããããããååã§ã³ããããæå®ããã¨ãå¯è½ã«ãªãã¾â¦
ååã«å¼ãç¶ãGitã®ä½¿ãæ¹ãã'ãããã ã¤ãããã'ã¨æ¸ãã¦ãã¾ããããããªã«é«åº¦ãªãã¨ã¯ãã¦ãã¾ããã'ããããã®ãã£ã½'ãããã¯é²ãã 使ãæ¹ã ã¨è§£éãã¦ãã ããã å·®åãåã ã§ã¯ãgreet.rbãå¤æ´ãã¦ããã¾ãã'Hi, git!'ã'Hello, git!'ã«å¤æ´â¦
æè¿Gitã«å¤¢ä¸ã§ãããã®ã§ä¸ã«åºããããã«ã¡ã¢ç¨åº¦ã«ã¨ã³ããªã¼ãæ®ããã¨ã«ãã¾ãã å 容ã¯çµæ§ãããµããªã®ã§ééã£ã¦ããããããããã¾ãããã¤ã£ããã§ããã ããã¨veryæè¬ããªããä¿®æ£ãã¾ãã åæã¨ãã¦ç°å¢ã¯Debian sid,etchãMac OSX/Leopardã¨â¦
Sixeight/mode-vim · GitHubmode.vimã®ãªãã¸ããªãgithubã«ã¦å ¬éãã¾ããã æ¨æ¥ã®ã¨ã³ããªããããããªãã¡ã¯ã¿ãªã³ã°ãã¦ãã®ã§githubã®æ¹ã使ãæ§ã«ãã¦ãã ãããç¾å¨ã¯èæ¯è²ã®è¨å®ã«highlightã®User1ã°ã«ã¼ãã使ç¨ãã¦ããã®ã§ãããããã ã¨ã²ã¨ã¤â¦
æè¿ããååãèãæ§ã«ãªã£ãgitãããã¦ã¿ã¾ãããSubversionãè¦ãã¦ãªãã®ã§CVSãã¡ãã£ã¨è§¦ã£ãã¨ãä¾é ¼ã®ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã§ãã # sudo port install git-core+doc+gitweb+svnä»è¦ãã使ãæ¹ã¯ã # cd my-project1 # git init # git add . # giâ¦