Upgrade to Pro — share decks privately, control downloads, hide ads and more …

コミュニケーションツールとしての Git & GitHub

コミュニケーションツールとしての Git & GitHub

PHP Conference 2014
Web デザイナ向け GitHub ハンズオン #p4d #phpcon2014
で発表させていただきました。
https://joind.in/talk/view/12049

ken_c_lo / TAEKO AKATSUKA

October 11, 2014
Tweet

More Decks by ken_c_lo / TAEKO AKATSUKA

Other Decks in Programming

Transcript

  1. #p4d σβΠφʔ޲͚ ϓϩάϥϛϯά෦ Presents @ken_c_lo TAEKO AKATSUKA as a communication

    tool Git&GitHub ίϛϡχέʔγϣϯ πʔϧͱͯ͠ͷ (JU(JU)VC όʔδϣϯ؅ཧɺ͚ͩ͡Όͳ͍ʂ in PHP Conference Oct. 11th, 2014
  2. 1 Git & GitHub as a Communication Tool - #p4d

    in #phpcon 8IP ੺௩ົࢠTAEKO AKATSUKA @ken_c_lo ʢέϯγϩ΢ͱʜಡΉ͚Ͳਖ਼௚ޙչ͍ͯ͠·͢ʣ twitter https://twitter.com/ken_c_lo/ rss
  3. 3 Git & GitHub as a Communication Tool - #p4d

    in #phpcon https://esa.io Ћ൛ɺݶఆެ։த খ͞ͳνʔϜͷͨΊͷυΩϡϝϯτڞ༗αʔϏε .BSLEPXO Ͱ (JU)VC Έ͍ͨʹॻ͚Δ ॻ͍͍ͯΔ్தͰ΋ڞ༗͍ͨ͠ʂ ༗༻ͳ஌ݟΛ੔ཧͯ͠৘ใΛஷΊ͍ͨ ڵຯ͋Δํ͸FTBJP͔ΒνʔϜਃ੥ͯ͠Ќ൛ެ։Λ͓଴͍ͪͩ͘͞
  4. 5 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ࢖͑ΔͱҰମԿ͕͏Ε͍͠ͷʁ σβΠφʔ΋ͦΖͦΖ࢖͑ͳ͍ͱʜΈ͍ͨͷ͹͔ͬΓͰɺ͏Ε͍͜͠ͱ͕͋Μ·ΓޠΒΕͯͳ͍ؾ͕͢Δɻ Կ͕͏Ε͍͠ͷ͔Θ͔Μͳ͍ͱɺෛ୲͕૿͑Δ͚ͩʹࢥ͑ͪΌ͏ɻ ʮ(JUͬͯԿʁʯ
  5. 6 Git & GitHub as a Communication Tool - #p4d

    in #phpcon άάΕɻ ʮ(JUͬͯԿʁʯ
  6. 7 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ͬͯɺ͓͍͍͠ͷʁ ͔֬ʹόʔδϣϯ؅ཧγεςϜͳΜͰ͕͢ʜɺ ࣮ࡍɺલͷόʔδϣϯʹ໭ͨ͠Γͱ͔ɺࠔ͔ͬͨ࣌͠΍Βͳ͍͠ɺ Ͷ͑ɺͦΜͳසൟʹ΍Δʁόʔδϣϯ؅ཧͱ͔ɻ (JU Λ࢖ͬͯͯΑ͍ͱ͜Ζ͸ɺ࣮͸ͦ͜͡Όͳ͘ͳ͍ʁ όʔδϣϯ؅ཧʁ
  7. 8 Git & GitHub as a Communication Tool - #p4d

    in #phpcon (JU(JU)VC ͸ ʮίϛϡχέʔγϣϯπʔϧʯ ͱͯ͠ɺ͍͢͝ɻ όʔδϣϯ؅ཧɺ͚ͩ͡Όͳ͍ ʂ ˞ݸਓͷײ૝Ͱ͢
  8. 9 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ͜͜Ͱ͸ɺ ʮίϛϡχέʔγϣϯπʔϧʯ ͱͯ͠ͷ (JU(JU)VC ͷ Ϥαͷ࿩Λ͠·͢ɻ ʢ࿩ΛΘ͔Γ΍͘͢͢ΔͨΊʹɺҰ෦ɺ୯७Խɾ؆ུԽͯͨ͠Γ͠·͢ɻ ·ͨɺ͜͜Ͱ࿩͢͜ͱ͸ͨ͘͞Μ͋Δ৭Μͳ΍Γํͷ͏ͪͷ ͭͰ͢ɻ ʣ
  9. 10 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίϛϡྗͬͯɺԿʁ ίϛϡχέʔγϣϯͯɺԿʁ ·ͨ೉͍͠ݴ༿ग़ͨɻ ͖Ό͖ͬΌ͏;;ʁˠ:FT a ⒡ 㱿 ⒡   ͳΜ͚ͩͲɺͦͷଞʹ΋΋͏̍ͭɻ
  10. 11 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίϛϡχέʔγϣϯ ࣗ෼ͷ̋̋Λʷʷʹ఻͑Δɻ ԿΛ΍͔ͬͨʁ ໨త ཧ༝ ҙਤ ^Λ఻͑Δ
  11. 12 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίϛϡχέʔγϣϯ ࣗ෼ͷ̋̋Λʷʷʹ఻͑Δɻ νʔϜͰҰॹʹ࡞͍ͬͯΔϝϯόʔ  ʢݱࡏʙະདྷʣ ະདྷͷࣗ෼  ʢ ϲ݄ޙʹݟͯ΋ͦͷ࣌ͷঢ়گ΍ؾ͕࣋ͪࢥ͍ग़ͤΔʁʣ ^ʹ఻͑Δ
  12. 13 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ྫ͑͹͜Μͳ͜ͱ͸͋Γ·ͤΜ͔ʁ ࣗ෼ͷσβΠϯ͕ɺγεςϜʹ૊Έࠐ·ΕΔ౎ ߹Ͱউखʹม͑ΒΕͯɺͦͷ··ϦϦʔε͞Ε ͯ͠·͍ɺޙ͔Β௚ͤͳ͍ɻ ղܾσΩϧ a ⒡ 㱿 ⒡  ۩ମతʹɺԿ͕σβΠφʔʹͱͬͯ͏Ε͍͠ͷʁ ௚ͤΔͷ͕ͩɺ౎౓ΤϯδχΞ͞Μͱ͔ʹΩϣΧΛͱΒͳ͍ͱ͍͚ͳ͍ɻ ԿΛ΍Δ͔આ໌͠ͳ͍ͱ͍͚ͳ͍ɻσβΠϯతʹ͸େ੾ͳ͜ͱ͚ͩͲɺ࣮ࡍݟͯ΋ ΒΘͳ͍ͱΑ͘Θ͔Βͳ͍Α͏ͳײ͡Ͱઆ໌͠ʹ͍͘ɻ Ͳ͜·Ͱউखʹͳ͓͍͍ͯ͠ͷ͔ʜม͑ΒΕͨҙਤ͕Θ͔Βͳ͍ͷͰࣗ৴ͳ͍ উखʹ΍Δͱ͓͜ΒΕΔ
  13. 14 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ྫ͑͹͜Μͳ͜ͱ͸͋Γ·ͤΜ͔ʁ σβΠϯมߋͷใࠂ΍આ໌ΛɺϝʔϧͰૹͬͨ ͷ͚ͩͲɺΈΜͳͪΌΜͱݟͯ͘Εͳ͍͠ɺϦ ΞΫγϣϯΛฦͯ͘͠Εͳ͍ɻ ۩ମతʹɺԿ͕σβΠφʔʹͱͬͯ͏Ε͍͠ͷʁ ͦͷ࣌ϦΞΫγϣϯ͘Εͳ͔ͬͨͤ͘ʹɺޙͰ৭ʑݴΘΕΔ ʢݟͳ͔ͬͨͷʁʣ ϝʔϧͩͱϦΞΫγϣϯͮ͠Β͍ ϝʔϧͩͱݟͮΒ͍͔Β͍ͭৄࡉΛಡΉͷΛαϘͬͯ͠·͏ ղܾσΩϧ a ⒡ 㱿 ⒡ 
  14. 15 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ˢ͓࢓ࣄͷྲྀΕ branch ϒϥϯν ৽͍͠࢓ࣄػೳͷ ΧλϚϦ ΋ͱͷ NBTUFS ͔Βࢬ෼͔Εͤͯ͞ੜ΍͢ɻ ʢྫ ؅ཧը໘ʹίϝϯτػೳΛ௥Ճʣ master branch Ϛελʔϒϥϯν ࢬ෼͔Ε͢Δલͷ΋ͱ΋ͱͷϒϥ ϯνɻ ੡࡞தͷϒϥϯνͷػೳ͕Φο έʔͳײ͡ʹͳͬͨΒɺ NBTUFS ʹऔΓࠐ·ΕΔ ʢNFSHF Ϛʔδ ɻ NBTUFS ͸جຊ͍ͭͰ΋ຊ൪Ϧ Ϧʔε͍͍ͯ͠ঢ়ଶʹͳͬͯΔɻ commit ίϛοτ ࡞ۀมߋͷ࠷খ୯Ґ ʢྫ ίϝϯτ༻ͷ TUZMF Λ௥Ճʣ
  15. 16 Git & GitHub as a Communication Tool - #p4d

    in #phpcon branch ϒϥϯνΛ੾Δ CSBODI ͱ͸ʁ ࢓ࣄ΍ػೳͷ ΧλϚϦ  ʢྫ ؅ཧը໘ʹίϝϯτػೳΛ௥Ճʣ ࠷৽ͷ NBTUFS ͔Βࢬ෼͔Εͤͯ͞ੜ΍͢ɻ ͜ͷ৽͍͠ࢬΛҭͯͯɺे෼ͳΫΦϦςΟʹͳͬͨΒ NBTUFS ʹ࠶ͼऔΓࠐ·ΕΔʜΈ͍ͨͳΠϝʔδɻ ৽͍͠࡞ۀΛ͸͡ΊΔͱ͖ʹɺ·ͣඞͣ΍Δɻ ࢬ෼͔Ε
  16. 17 Git & GitHub as a Communication Tool - #p4d

    in #phpcon CSBODI ͷ੾Γํ CSBODI ʹ͸ӳޠͷ໊લΛ͚ͭΔ ͦͷػೳ΍มߋ಺༰Λද໊͢લΛ͚ͭΔ ྫ EFTJHO@GPS@UPQ@QBHF ʢτοϓϖʔδͷσβΠϯมߋʣ ͜ͷ࣌ɺͳΔ΂͘খ͞ͳλεΫͷ୯Ґʹ෼ׂ͢Δ ʷʜτοϓϖʔδͱϑολʔͷ಺༰Λมߋ ̋ʜτοϓϖʔδͷσβΠϯมߋ ϑολͷ JOEFY ಺༰Λมߋ ࢬ෼͔Ε
  17. 18 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ͳͥλεΫΛ෼ׂ͢Δͷ͔ʁ Ұ౓ʹ৭ʑ΍Ζ͏ͱ͢ΔͱɺԿΛ͍ͯ͠Δͷ͔ଞͷਓʹ ఻ΘΓʹ͘ ͘ͳΔ  DPNNVOJDBUJPO ෼ׂͨ͠ํ͕ࣗ෼Ͱ΋ࢥߟΛ੔ཧ͠΍͍͢ খ͍͞λεΫͷํ͕ऴΘΓ͕ݟ͑΍ͯ͘͢ϋʔυϧ͕௿͍ ࢬ෼͔Ε
  18. 19 Git & GitHub as a Communication Tool - #p4d

    in #phpcon commit ίϛοτΛ͢Δ DPNNJU ͱ͸ʁ ࡞ۀ΍มߋͷ࠷খ୯Ґ  ʢྫ ίϝϯτཝͷελΠϧΛ੔͑Δʣ ͳΔ΂͘খ͞ͳίϛοτʹ෼ׂ͢Δ ཧ༝͸ɺখ͍͞ํ͕Θ͔Γ΍͍͔͢Β ʢಉ্ʣ ໨త͕ ͭͷมߋΛͭͷίϛοτʹ  ͭͷ࡞ۀ΍มߋ͕ऴΘͬͨΒʜ DPNNJU
  19. 20 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίϛοτϝοηʔδΛॻ͘ ίϛοτϝοηʔδͱ͸ʁ ͦͷ DPNNJU ͷมߋͷ \ ಺༰ ໨త ཧ༝^Λɺ  \ νʔϜͷଞͷϝϯόʔ ະདྷͷࣗ෼^ʹ఻͑ΔͨΊʹ DPNNJU ʹఴ͑ΔςΩετ ྫ͑͹ɺͲΜͳ࣌ʹಡ·ΕΔ΋ͷͳͷʁ 1VMMSFRVFTU Ͱଞͷਓ͕಺༰Λ֬ೝͨ͠ΓϨϏϡʔΛͨ͠Γ͢Δͱ͖ʹɺมߋऀ ͕ɺ࡞ۀͨ͠ਓͷҙਤΛ֬ೝ͢ΔͨΊʹݟΔ όά΍ؒҧͬͨڍಈΛ͢ΔՕॴΛݟ͚ͭɺͦͷݪҼͱͳΔՕॴΛݟ͚ͭͨΓͨ͠ͱ ͖ʹɺͦͷมߋͷҙਤΛࠩࢀর͢ΔͨΊʹݟΔ DPNNJU
  20. 21 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίϛοτϝοηʔδΛॻ͘ ʷ /( ͳίϛοτϝοηʔδ 'JYCVHT ˠԿΛ௚͔͕ͨ͠஌Γ͍ͨ ʂ ৭ʑม͑ͨ ˠԿͷઆ໌ʹ΋ͳͬͯͳ͍ ʂ BVEJPͷ֎ଆͷ EJW Λ࡟আ ˠͦΕ͸ίʔυͷࠩ෼ݟΕ͹Θ͔Δ͚ͲɺԿͷͨΊʹ΍ͬͨͷʁ DPNNJU
  21. 22 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίϛοτϝοηʔδΛॻ͘ εϚʔτ ϑΥϯͰIPHFCPY ͷӈ่͕Εͳ͍Α͏ʹमਖ਼ IPHFCPY͕q PBU ͠ͳ͍Α͏ʹͨ͠ q PBU ͤ͞ΔͱӈଆͷςΩετೖΓࠐΜͰ่ΕΔ͔Β DPNNJU ໨తͱҙਤ͕Θ͔ΔΑ͏ʹ  ߦ͚ͩͰ଍Γͳ͚Ε͹ɺ ߦۭ͚ͯԼʹৄࡉΛॻ͘ ϝʔϧͷλΠτϧͱຊจͷΑ͏ͳϑΥʔϚοτʹͰ͖Δ ͋ͱɺֆจࣈͱ͔࢖ͬͨΓνʔϜͰ ͚ͩ௨͡ΔεϥϯάΈ͍ͨͳͷ΋Α ͍ ʢ࿨Ήͷେࣄ ˘Т ˘
  22. 23 Git & GitHub as a Communication Tool - #p4d

    in #phpcon pull request ϓϧϦΫΤετΛग़͢ QVMMSFRVFTU ͱ͸ʁ ࣗ෼͕ਐΊ͍ͯΔ CSBODI ͷ಺༰Λଞͷϝϯόʔ ʹ΋ݟͯ΋ΒͬͨΓɺ ҙݟΛ΋ΒͬͨΓ͢ΔͨΊʹग़͢ɻ QVMMSFRVFTU ΛΈΜͳͰݟͯ 0,ͬΆ͍ײ͡ʹ ͳͬͨΒɺNBTUFS ʹϚʔδ͞ΕΔ ʮ͜Μͳͷ࡞ͬͯΈͨΜ͚ͩͲɺͲ͏͔ͳʁʯ QVMMSFRVFTU
  23. 24 Git & GitHub as a Communication Tool - #p4d

    in #phpcon (JU)VCͷ1VMM3FRVFTUͷ 6* ͸ ίϛϡχέʔγϣϯπʔϧͱͯ͠େม༏Ε͍ͯΔ ɾ.BSLEPXO ɾ εΫϦʔϯγϣοτ͕షΓ΍͍͢ʢը૾Λൣғબ୒ͯ͠ϖʔετʣ ɾίʔυ্ʹ΋ίϝϯτΛ෇͚ΒΕΔ ɾ50%0Ϧετ΋࡞ΕΔ <>ͬͯॻ͘ͱνΣοΫϘοΫεʹʂʣ ɾը૾ͷ EJ⒎  ΋ݟΕΔ ɾFNPKJTVTIJZVLJ-(5..JTBXBը૾Ͱ͖Ό͖ͬΌ͏;; ɾૢ࡞ͷ༷ࢠΛ HJG ΞχϝͰுͬͨΓ
  24. 25 Git & GitHub as a Communication Tool - #p4d

    in #phpcon 50%0 Ϧετ <> <Y> ͬͯॻ͘ͱνΣοΫϘο ΫεʹͳΔ
  25. 26 Git & GitHub as a Communication Tool - #p4d

    in #phpcon .BSLEPXO εΫϦʔϯ γϣοτͰΘ͔Γ΍͍͢ εΫϦʔϯγϣοτ షΓ΍͍͢ɻ ʢ1IPUPTIPQ ͱ͔Ͱ ը૾Λൣғબ୒ͯ͠ ίϐϖͰషΕͨΓ͠·͢ʣ #FGPSFBGUFSͱ͔͢Δͱ Θ͔Γ΍͍͢ ࠷ۙ͸ૢ࡞ͷ༷ࢠΛ HJG ಈը ʹͨ͠Γ͢Δ
  26. 27 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ίʔυ্ͷಛఆͷߦʹରͯ͠ ίϝϯτΛ͚ͭͯձ࿩͕Ͱ͖ Δɻ
  27. 28 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ϥϑεέονΛషͬͨΓͱ͔ʜ
  28. 29 Git & GitHub as a Communication Tool - #p4d

    in #phpcon IUUQCJUMZMUUNDSY
  29. 30 Git & GitHub as a Communication Tool - #p4d

    in #phpcon IUUQXXXFNPKJDIFBUTIFFUDPN
  30. 31 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ϓϧϦΫΤετ͸͍ͭग़͢ʁ ࣗ෼͕ਐΊ͍ͯΔ CSBODI ͕ϩʔΧϧͰ͍͍ײ͡ʹҭͬ ͖ͯͯɺΈΜͳʹݟͯ΋Β͍ͨ͘ͳͬͨΒ ࣗ෼̍ਓͰਐΊ͚ͯͨͲ୭͔ʹ૬ஊͨ͘͠ͳͬͨΒ ϓϩάϥϚ͞ΜʹػೳΛ࣮૷ͯ͠ཉ͘͠ͳͬͨΒ ࡞ۀ͸͡ΊΔલʹ ʮ͜Ε͔Β͜Ε΍Γ·͢ʂʯએݴతʹ λΠϛϯά͸৭ʑɻૣΊͰ΋͍͍ɻ׬੒ͯ͠ͳͯ͘΋͍͍ɻ QVMMSFRVFTUʺNFSHFSFRVFTU QVMMSFRVFTU
  31. 32 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ࡞ۀதͷϓϧϦΫΤετ͸ <8*1>ͱॻ͍͓ͯ͘ ͱ͍͏ͷ͕ྲྀߦͬͯΔɻ ͋ͱνΣοΫϘοΫεͰ ࢒λεΫΛॻ͍͓ͯ͘ νʔϜϝϯόʔʹૣΊʹݟ͑Δ ঢ়ଶʹͯ͠ɺΈΜͳͰҭ͍ͯͯ ͘ 8*1ʢੜࣽ͑ʣ΀ΔΓʹ͍ͭͯ ͸ڈ೥ͷεϥΠυʹ΋ॻ͍ͯΔ ͷͰͦͪΒ΋Α͔ͬͨΒݟͯ͘ ͍ͩ͞ɻ IUUQTTQFBLFSEFDLDPNLFO@D@MPQVMM SFRVFTUEFTJHOFSTHJUIVCXPTIJUVUBQVS PHVSBNBUPEF[BJOBGBMTFJUFSFUFJCVOBLBJGB IVSP
  32. 33 Git & GitHub as a Communication Tool - #p4d

    in #phpcon 8*1ʢੜࣽ͑ʣ΀ΔΓʹ͍ͭͯ͸ڈ೥ͷεϥΠυʹ΋ॻ͍ͯΔͷͰͦͪΒ ΋Α͔ͬͨΒݟ͍ͯͩ͘͞ɻ IUUQTTQFBLFSEFDLDPNLFO@D@MPQVMMSFRVFTUEFTJHOFSTHJUIVCXPTIJUVUBQVSPHVSBNBUPEF[BJO BGBMTFJUFSFUFJCVOBLBJGBIVSP 8*1 ʢੜࣽ͑ʣ΀ΔΓͱ͸ʁ ࡞ۀதͰ΋ϓϧϦΫΤετʹͯ͠͠·͏͜ͱ  ࣗ෼ͷखݩʹ͋Δ࡞ۀΛૣΊʹνʔϜϝϯόʔ͔Βݟ͑ Δঢ়ଶʹͯ͠ɺΈΜͳͰҭ͍ͯͯ͘ QVMMSFRVFTU
  33. 34 Git & GitHub as a Communication Tool - #p4d

    in #phpcon (JU(JU)VC ͸༏Εͨίϛϡχέʔγϣϯπʔϧ ɾׂͱେମͷ͜ͱ͕ɺίϚϯυϥΠϯ͔ͭΘͳͯ͘΋ 8FC ΍ (6* ΞϓϦͰ Ͱ͖ΔΑʂ ɾ ίϛϡχέʔγϣϯͰ͖Δ͜ͱԿΛͲͷΑ͏ͳҙਤͰ΍ͬͨͷ͔Λɺνʔ Ϝϝϯόʔ΍ޙʑͷࣗ෼ʹ࢒ͤΔ͜ͱ͕େࣄ ·ͱΊ
  34. 35 Git & GitHub as a Communication Tool - #p4d

    in #phpcon σβΠφʔ͕ (JU ΍ (JU)VC Λ࢖͏͜ͱͰղܾͰ ͖Δ໰୊ͷଟ͘͸ɺίϛϡχέʔγϣϯͷ໰୊ ɾͳͷͰɺ(JU Λ࢖Θͳͯ͘΋஥ྑͩͬͨ͠Β࣮͸ղܾͰ͖Δͷ͔΋͠Εͳ͍ ɾ ʢҰํɺ(JU Λ࢖ͬͯͯ΋஥ѱ͍ͱμϝ͔΋ʜʣ ɾ༏Εͨಓ۩Λਖ਼͘͠࢖͏͜ͱͰɺؾ࣋ͪΑ͘࢓ࣄͰ͖Δ ɾ৘ใͷಁ໌ԽɺՄࢹԽ͕͖ͪΜͱ͞Ε͍ͯΔͱɺؔΘΔਓ͸ؾ࣋ͪΑ͘ڠۀ Ͱ͖Δɻ ·ͱΊ (JU(JU)VC ͷϤα
  35. 36 Git & GitHub as a Communication Tool - #p4d

    in #phpcon ͋Γ͕ͱ͏͍͟͝·ͨ͠  as a communication tool Git&GitHub ίϛϡχέʔγϣϯ πʔϧͱͯ͠ͷ (JU(JU)VC όʔδϣϯ؅ཧɺ͚ͩ͡Όͳ͍ʂ in PHP Conference Oct. 11th, 2014