gitããä»»æã®ãã¼ã¸ã§ã³ã®Linuxã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ãããã§ãã¯ã¢ã¦ãããã¡ã¢
ä½ã¯ã¨ãããgit cloneã
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Linuxã«ã¼ãã«ã§ã¯ã3.x.yç³»åãã¨ã«ãã©ã³ããããããªãªã¼ã¹ãã¼ã¸ã§ã³ã«ã¿ã°ãä»ãããã¨ã«ãªã£ã¦ããããªã®ã§ãã½ã¼ã¹ã³ã¼ãããã§ãã¯ã¢ã¦ãããæ¹æ³ã¯2ã¤ããã©ã³ãï¼linux-3.x.yï¼ããã§ãã¯ã¢ã¦ãããæ¹æ³ã¨ãã¿ã°ï¼v3.x.yï¼ã§ãªãªã¼ã¹ãã¼ã¸ã§ã³ããã§ãã¯ã¢ã¦ãããæ¹æ³ã
ã¾ãã¯ãã©ã³ããããgit branch -aã§æ¬å®¶ã®ãã©ã³ããããããã§ã¦ããã®ã§ãè¦ãããã¼ã¸ã§ã³ãæ¢ãã
$ git branch -a
ãã¨ã¯ä»»æã®ãã¼ã¸ã§ã³ããã§ãã¯ã¢ã¦ãããã ãã
$ git checkout -b linux-3.10.y origin/linux-3.10.y
ç¶ãã¦ã¿ã°ãgit tag -lã§ããããã§ã¦ããã
$ git tag -l
ã¿ã°ãæå®ãã¦ããã§ãã¯ã¢ã¦ãã
$ git checkout -b v3.10 v3.10
ããã§ã¯ãã¼ã«ã«ãªãã¸ããªã«ãã©ã³ããä½ã£ã¦ãããã©ããã¡ããã-b xxxããæå®ããªãã¦ãOKã
ã½ã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°ã®ãä¾ã¨ãã¦ctagsãã¨æã£ããã©ãCentOSã®vimã ã¨cscopeãããã©ã«ãã£ã½ãã®ã§ãcscopeã®ã¿ã°ãã¡ã¤ã«ãä½ã£ã¦ããã
$ make cscope ARCH=x86