Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
ããã«ã¡ã¯ãokutani(@okutani_t)ã§ããGitã®ãµãã¢ã¸ã¥ã¼ã«ï¼submoduleï¼ã«ã¤ãã¦ã¤ãã¤ãããåãã£ã¦ããªãã£ãã®ã§ãåå¿é²ãå ¼ãã¦è¨äºã«ãã¦ã¿ã¾ããã Gitã®ãµãã¢ã¸ã¥ã¼ã«æ©è½ã使ãã¨ãããã¸ã§ã¯ãã§ç®¡çãã¦ããGitãªãã¸ããªã¨ã¯å¥ã«ãç¬ç«ãããªãã¸ããªãããã¸ã§ã¯ãã«å«ã¾ãããã¨ãã§ãã¾ãã ãµãã¢ã¸ã¥ã¼ã«ãå«ãã ããã¸ã§ã¯ãã§ã¯ãããã·ã¥ã»ãã«ããããªã£ã¦ããµãã¢ã¸ã¥ã¼ã«å´ã®ãªãã¸ããªã«ã¯å½±é¿ããªããã¨ãã£ãç¹å¾´ãããã¾ãã ä»ã®ç¹å¾´ã¨ãã¦ã¯ããµãã¢ã¸ã¥ã¼ã«ã¯ããã¾ã§ç¹å®ã³ãããã示ããã¤ã³ãã追å ãããã£ã¬ã¯ããªã«åãè¾¼ããã®ã§ãã æ¬è¨äºã§ã¯Gitã®ãã¼ã¸ã§ã³ã¯1.8.5以ä¸ã対象ã¨ãã¦ãã¾ãããã以ä¸ã®ãã¼ã¸ã§ã³ã§ã¯ä½¿ããªãã³ãã³ããªã©ããã®ã§æ³¨æãã¦ãã ããã ã§ã¯ããã£ããGitã®ãµãã¢ã¸ã¥ã¼ã«ã®ä½¿ãæ¹ãè¦ã¦ããã¾ãããã åèGit ã®ãµãã¢
ï¼åè¡ã®ãã¡ã¤ã«ã«ï¼è¡è¿½è¨ããã ãã§ã¬ãã¸ããªå®¹éãï¼åã«ãªã£ã 以åã®è¨äºãGitã¬ãã¸ããªã¯ãããã®éç©ã§ã¯ãªãã¦ã¹ãããã·ã§ããã®éç©ã§ããããã確èªããããã«ãï¼åè¡ã®ãã¡ã¤ã«ãä½ã£ã¦å®é¨ãã¦ã¿ã¾ããã çµæã¯ããªãã¨ï¼è¡è¿½è¨ããã ãã§ã¬ãã¸ããªå®¹éã200MBå¢å ãããµã¤ãºãï¼åã«ãªãã¾ããã å®é¨æé 空ã®ã¬ãã¸ããªãä½ã ï¼åè¡ã®ãã¡ã¤ã«ãä½ã£ã¦git addãã¦git commit ã³ããããã ãã®ãã¡ã¤ã«ã«ï¼è¡ã ã追è¨ãã¦git addã㦠git commitãã 空ã®ã¬ãã¸ããªãä½ã $ git init ï¼åè¡ã®ãã¡ã¤ã«ãä½ã ï¼åè¡ã®ãã¡ã¤ã«(ï¼ãã1åã¾ã§ã®æ°åãæ¸ããããã¡ã¤ã«)ãä½ãã¾ãã $ seq 1 100000000 > numbers.txt ãã®æç¹ã§ãã¯ã¼ãã³ã°ããªã¼ã¨ã¬ãã¸ããªå®¹éã調ã¹ã¦ã¿ã¾ãã $ ls -lh åè¨ 848M -rw-
ï¼ã¤ã®ãã©ã³ãããã¼ã¸ããéã«ã³ã³ããªã¯ãããã¨ãã¦ãã©ã¡ããã ããå ¨é¢çã«é©ç¨ãããå ´åã¯ã©ããããã 以ä¸ã®ããã«ãcheckout --ours 㨠checkout --theirs ã使ãåããã°è¯ãã # ï¼ã¤ã®ãã©ã³ãéã§ã³ã³ããªã¯ããã¦ãããã¡ã¤ã« fileA.txt 㨠fileB.txt ãããã¨ãã # fileA.txt ãç¾å¨ãã§ãã¯ã¢ã¦ããã¦ãããã©ã³ãå´ã®å¯¾å¿ã«åãããå ´å $ git checkout --ours fileA.txt $ git add fileA.txt # add ãå¿ããã« # fileB.txt ããã¼ã¸ããããã©ã³ãå´ã«åãããå ´å $ git checkout --theirs fileB.txt $ git add fileB.txt $ git commit Register as a new user and use Qi
æ¥é é±å ±ã¨ãè°äºé²ã¨ãé »ç¹ã«æ¸ããã¨ããã£ã¦ã èªåã®ãã¼ãPCã¨ç 究室ãã·ã³ã¨èªå® ãã·ã³ã§åæãåãããã å¥ã«ãªã³ã©ã¤ã³ã¹ãã¬ã¼ã¸ä½¿ããã£ã¦è©±ãªãã§ããã Dropboxã®å®¹éãæ½°ããããªãã®ã¨ãgitã«æ £ããæå³åããå ¼ã㦠調ã¹ã¦ã¾ããã ä¸é£ã®æµã $ mkdir aaa $ cd aaa $ touch README $ echo "initial commit" > README $ git init $ git add . $ git commit -m "initial commit" $ git push origin master åæ gitosisã使ã£ã¦ããã®ã§ãgitosis-admin/gitosis.confã®ä¸èº«ã«ã¡ããã¨ä»¥ä¸ã追è¨ã [group hoge] writable = hogehoge member = hogehoge@fedora èºã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}