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

ソフトウェア工学13 GitHub

ソフトウェア工学13 GitHub

GitHub

gitとGitHub,リポジトリのフォークとclone,プルリクエスト,issue

99b434b001cd93fe73322f764d73372c?s=128

Toru Tamaki

August 05, 2021
Tweet

Transcript

  1. ιϑτ΢ΣΞ޻ֶ n GitHub • gitͱGitHubɼϦϙδτϦͷϑΥʔΫͱcloneɼϓϧϦΫΤετɼissue ۄ໦పʢ໊޻େʣ

  2. HJUͷ͓͞Β͍

  3. ϩʔΧϧϦϙδτϦʹΑΔόʔδϣϯ؅ཧ nϩʔΧϧϦϙδτϦΛར༻ • ཤྺΛอ࣋ • มߋɼमਖ਼ɼ௥Ճɼ࡟আͳͲ ngitίϚϯυ • ϦϙδτϦΛ؅ཧ͢Δ มߋ

    मਖ਼ ϩʔΧϧ ϦϙδτϦ
  4. HJUʹ͓͚ΔมߋͷྲྀΕ git add git commit εςʔδϯά ίϛοτ ࡞ۀπϦʔ ʢϫʔΫπϦʔʣ ΠϯσοΫε

    ʢεςʔδϯάΤϦΞʣ ϩʔΧϧ ϦϙδτϦ มߋ मਖ਼ ίʔσΟϯά΍ σόοάΛߦ͏ ίϛοτ༻ͷ Ұ࣌อ؅৔ॴ ίϛοτ͕ อଘ͞ΕΔ 1ͭͷίϛοτ͕ 1ͭͷʮόʔδϣϯʯ
  5. ίϛοτɿίʔυͷߋ৽ nόʔδϣϯΛάϥϑͰදݱ͢Δ • ίϛοτ͢Δͨͼʹϊʔυ͕Ҡಈ • ओװϒϥϯνͷ໊લ • mainϒϥϯν • ʢmasterϒϥϯνʣ

    • HEAD • ઌ಄ʢ࠷৽όʔδϣϯʣ ॳظίϛοτ ίϛοτ1 ίϛοτ2 HEAD ॳظίϛοτ ίϛοτ1 HEAD ॳظίϛοτ HEAD
  6. ϒϥϯνͷϚʔδ n2ͭͷϒϥϯνΛ౷߹ n༻్ • όάϑΟοΫεΛϝΠϯʹ൓ө • ௥ՃػೳΛ҆ఆ൛ʹ൓ө nϚʔδͷํ๏ • HEADͷ͋ΔϒϥϯνͰ

    • git merge Ϛʔδ͢Δϒϥϯν໊ n΋͠ίϯϑϦΫτ͕ൃੜͨ͠Β • ྫɿmainͱbugfixͰಉ͡෦෼Λมߋ͍ͯͨ͠Β • खಈͰमਖ਼ bugfix HEAD main
  7. ෼ࢄϦϙδτϦʹΑΔ؅ཧ nϩʔΧϧϦϙδτϦ • ֤ࣗͰอଘ͢ΔϑΝΠϧҰࣜͱมߋཤྺ nϦϞʔτϦϙδτϦ • ϩʔΧϧϦϙδτϦ͔Βߋ৽͞ΕΔ • Ξοϓϩʔυɿpush •

    μ΢ϯϩʔυɿpull มߋ मਖ਼ มߋ मਖ਼ ϩʔΧϧ ϦϙδτϦ ϩʔΧϧ ϦϙδτϦ ϦϞʔτ ϦϙδτϦ GitHub GitLab bitbucket
  8. ෼ࢄϦϙδτϦʹΑΔ։ൃͱ഑෍ มߋ मਖ਼ มߋ मਖ਼ ϩʔΧϧ ϦϙδτϦ ϩʔΧϧ ϦϙδτϦ ϦϞʔτ

    ϦϙδτϦ push pull ʢfetch + mergeʣ push pull ʢfetch + mergeʣ ։ൃऀA ։ൃऀB checkout ੈքதͷ Ϣʔβʔ ։ൃऀBͷมߋΛ Ϛʔδ ։ൃऀAͷมߋΛ Ϛʔδ
  9. ෼ࢄϦϙδτϦ GitHub GitLab Bitbucket

  10. https://github.com

  11. https://about.gitlab.com

  12. https://bitbucket.org/product/

  13. (JU)VC ʮgitʯͱʮGitHubʯͷҧ͍ʹ஫ҙɿ gitίϚϯυͰϦϙδτϦΛૢ࡞͢Δ͕ɼgitͱ͸ແؔ܎ͷGitHubಛ༗ͷαʔ Ϗε͕ଟ਺͋Δ

  14. (JU)VCͱ͸ nιʔείʔυͷϗεςΟϯάαʔϏε • gitͷϦϞʔτϦϙδτϦ • GitHubಠࣗͷଟ༷ͳػೳ • issue, wiki, pages,

    actions, etc nଟ਺ͷOSSϓϩδΣΫτ͕GitHub্Ͱެ։͞Ε͍ͯΔ • Pytorch • Tensorflow • Numpy • ͦͷଞଟ਺ nاۀͰ΋࢖ΘΕ͍ͯΔ • ϓϥΠϕʔτʢඇެ։ʣϦϙδτϦΛར༻ • ϓϩδΣΫτຖʹνʔϜͰڞಉ࡞ۀ https://github.com/logos
  15. (JU)VC্ͷ044ϓϩδΣΫτ https://github.com/numpy/numpy https://github.com/tensorflow /tensorflow https://github.com/pytorch/pytorch

  16. Φʔϓϯσʔλ׆༻ https://github.com/tokyo- metropolitan-gov/covid19

  17. ݚڀͰ΋࢖༻͞ΕΔ n ࠷ۙΑ͘࢖ΘΕΔ • ʢίϯϐϡʔλϏδϣϯɼը૾ೝࣝɼػ ցֶशͷ෼໺ʹ͓͍ͯʣ n खॱ • ϓϩδΣΫτWebαΠτΛ࡞੒

    • twitterͰ΋঺հ • ࠷ۙ͸GitHub Pages͕ଟ͍ • GitHub্ͰίʔυΛެ։ • arXiv্Ͱ࿦จPDFΛެ։ • ΦʔϓϯΞΫηεͰ΋ެ։ • YoutubeͰಈը΍ൃදө૾Λެ։ • σʔληοτΛGoogle DriveͰެ։ • ΦʔϥϧεϥΠυͱϙελʔͷPDF΋ެ ։ https://hirokatsukataoka16.githu b.io/Pretraining-without-Natural- Images/
  18. 'PSLNFPO(JU)VC nʮGitHub্ͷϦϙδτϦΛෳ੡ͯ͠Ͷʯͱ͍͏ҙຯ • ϢʔβʔΛ֫ಘ͍ͨ͠৔߹ʹΑ͘࢖ΘΕΔ https://requests.readthedocs.io/en/master/ ΫϦοΫ͢Δͱ GitHubͷϦϙδτϦ ΁ඈͿ ͜ͷϦϙδτϦ ʹର͢Δstar

    ʢ͍͍Ͷʣͷ਺
  19. (JU)VCʹ͓͚ΔϑΥʔΫ มߋ मਖ਼ มߋ मਖ਼ ϩʔΧϧ ϦϙδτϦ ϩʔΧϧ ϦϙδτϦ ϦϞʔτ

    ϦϙδτϦ John Michael ϦϞʔτ ϦϙδτϦ johnsmith/greatcode greatcode greatcode darkmchael/greatcode Fork
  20. উखʹϑΥʔΫ͢ΔจԽ nMissing Semester • MITͷڭһֶ͕ੜͷͨΊ ʹ༗༻ͳπʔϧΛڭ͑ Δߨ࠲ • Youtube্ͰϨΫνϟʔ ಈըΛެ։ɼGitHub্

    ͰίʔεϊʔτΛެ։ n֤ࠃͷ༗ࢤ͕ϑΥʔΫ • ෳ਺ਓͰ຋༁ͯ͠ GitHub্ʹެ։ https://github.com/missing- semester/missing-semester https://missing.csail.mit.edu https://missing-semester-jp.github.io https://github.com/missing- semester-jp/missing-semester- jp.github.io https://twitter.com/HirokatuKataoka/status/1354695118352052226
  21. উखʹϑΥʔΫ͢ΔจԽ nMissing Semester • MITͷڭһֶ͕ੜͷͨΊ ʹ༗༻ͳπʔϧΛڭ͑ Δߨ࠲ • Youtube্ͰϨΫνϟʔ ಈըΛެ։ɼGitHub্

    ͰίʔεϊʔτΛެ։ n֤ࠃͷ༗ࢤ͕ϑΥʔΫ • ෳ਺ਓͰ຋༁ͯ͠ GitHub্ʹެ։ n͓͢͢Ίʂ • ιϑτ΢ΣΞ޻ֶʹؔ ࿈ͨ͠ɼ৘ใܥͳΒඞ ਢͷ஌͕ࣝຬࡌ https://github.com/missing- semester/missing-semester https://missing.csail.mit.edu https://missing-semester-jp.github.io https://github.com/missing- semester-jp/missing-semester- jp.github.io https://twitter.com/HirokatuKataoka/status/1354695118352052226 https://twitter.com/utokyo_bunny/stat us/1388119320576741378
  22. ϦϙδτϦͷը໘ commit ID ϒϥϯν໊ MarkdownͰ͔͘ README.md Starͷ਺ Fork͞Ε ͨ਺ issue

    ϓϧϦΫ Τετ ΞΧ΢ϯ τ໊ Ϧϙδτ Ϧ໊ ϦϙδτϦͷμ΢ ϯϩʔυURL
  23. (JU)VCͷΞΧ΢ϯτ࡞੒ nGitHubΞΧ΢ϯτͷ࡞੒ํ๏ (2021೥൛) nGitHubΞΧ΢ϯτͷ࡞੒ํ๏ https://github.com ΞΧ΢ϯτ࡞੒͸ ʮSign upʯ͔Β

  24. ϦϙδτϦͷ࡞੒

  25. ϩʔΧϧΛ࡞੒ͯ͠QVTI nखॱ • git initͰϩʔΧϧϦϙδτϦΛ࡞੒ • ผ్ɼGitHub্ʹϦϙδτϦΛ࡞੒ • ϦϞʔτϦϙδτϦʹGitHub্ͷϦϙ δτϦʢ͜ͷ࣌఺Ͱ͸ۭʣΛࢦఆ

    • git pushͰϩʔΧϧϦϙδτϦͷ಺༰ ΛϦϞʔτϦϙδτϦʢGitHub্ͷϦ ϙδτϦʣʹΞοϓϩʔυ n༻్ • ͢Ͱʹ͋ΔϩʔΧϧϦϙδτϦΛ͜ͷ खॱͰGitHubʹόοΫΞοϓͰ͖Δ • ϩʔΧϧΛमਖ਼ͨ͠Βʢcommitͨ͠ Βʣpush͢Δ มߋ मਖ਼ ϩʔΧϧ ϦϙδτϦ ϦϞʔτ ϦϙδτϦ John johnsmith/greatcode greatcode push
  26. ϦϞʔτΛ࡞੒ͯ͠DMPOF nखॱ • GitHub্ʹۭͷϦϙδτϦΛ࡞੒ • git cloneͰϦϞʔτϦϙδτϦ ʢGitHub্ͷϦϙδτϦʣΛϩʔΧϧ ϦϙδτϦʹίϐʔ n༻్

    • GitHub্ʹ͓ͭ͘΋ΓͷϦϙδτϦΛ ࡞ΔͳΒ͜ͷํ๏͕؆୯ • ઌʹެ։ɾඇެ։ͳͲͷઃఆ͕Ͱ ͖Δ • ϩʔΧϧΛमਖ਼ͨ͠Βʢcommitͨ͠ Βʣpush͢Δ มߋ मਖ਼ ϩʔΧϧ ϦϙδτϦ ϦϞʔτ ϦϙδτϦ John johnsmith/greatcode greatcode clone
  27. ϑΥʔΫͯ͠DMPOF nखॱ • GitHub্ͷϦϙδτϦΛϑΥʔΫ • git cloneͰϦϞʔτϦϙδτϦ ʢGitHub্ͷϦϙδτϦʣΛϩʔΧϧ ϦϙδτϦʹίϐʔ n༻్

    • GitHub্Ͱެ։͞Ε͍ͯΔίʔυΛम ਖ਼ͯ͠·ͨGitHubʹ͓͘ • ϩʔΧϧΛमਖ਼ͨ͠Βʢcommitͨ͠ Βʣɼࣗ෼ͷΞΧ΢ϯτͷϦϙδτϦ ʹpush͢Δ มߋ मਖ਼ ϩʔΧϧ ϦϙδτϦ John someones/greatcode greatcode clone johnsmith/greatcode push clone push fork ࣗ෼ͷ ΞΧ΢ϯτ
  28. (JU)VCͰϦϙδτϦΛ࡞੒ New repositoryΛΫϦοΫ +ΛΫϦοΫͯ͠ɽɽɽ

  29. (JU)VCͰϦϙδτϦΛ࡞੒ ϦϙδτϦ໊Λೖྗ ʢӳޠͷΈʣ આ໌จ ެ։͠ͳ͍ͳ Βprivate ΫϦοΫ͢Δ ͱ࡞੒͞ΕΔ

  30. (JU)VCͰϦϙδτϦΛ࡞੒ ͜Ε͕ϦϞʔτͷURLʹͳΔ ϩʔΧϧʹ৽͘͠࡞ͬͨΒ ϦϞʔτ΁push ϩʔΧϧʹ͢Ͱʹ͋ΔͳΒ ϦϞʔτ΁push ݱࡏ͸”main”͕ओ ྲྀɽ“master”͸࢖ Θͳ͍Α͏ʹ͠Α ͏ɽมߋ͢Δʹ͸

    “git branch -M main”
  31. ϦϞʔτΛDMPOF͢Δ

  32. ϦϙδτϦͷDMPOF ϦϙδτϦΛίϐʔ͠ ͯ͘ΔίϚϯυ ϦϞʔτϦϙδτϦͷURLͳͲ pwdҎԼʹϦϙδτϦ໊ͷ σΟϨΫτϦ͕Ͱ͖Δ

  33. SFNPUFͷ֬ೝ ϦϞʔτϦϙδτϦΛ දࣔ͢ΔίϚϯυ push༻ʢΞοϓϩʔυʣ fetch༻ʢμ΢ϯϩʔυʣ ͷϦϞʔτϦϙδτϦͷ৔ॴ ϦϞʔτϦϙ δτϦͷ໊শ ஫ҙɿ •

    ଞਓͷϦϙδτϦ΁͸ʢݖݶ͕ͳ͍ͷͰʣpushͰ͖ͳ͍ɽ • push͍ͨ͠ͳΒɼ·ͣϑΥʔΫͯࣗ͠෼ͷϦϙδτϦͱͯ͠ί ϐʔ͔ͯ͠ΒɼͦΕʹpush
  34. ϦϞʔτϦϙδτϦͱϒϥϯν main main origin ϩʔΧϧϦϙδτϦ originͱ͸ ϦϞʔτϦϙδτϦͷ σϑΥϧτͷ໊শ pull (fetch

    + merge) push bugfix bugfix
  35. ϦϞʔτϦϙδτϦ΁ͷQVTIͷྫ bugfix main bugfix main origin ϩʔΧϧϦϙδτϦ ࣗ෼͕ commit !

  36. ϦϞʔτϦϙδτϦ΁ͷQVTIͷྫ bugfix main bugfix main origin ϩʔΧϧϦϙδτϦ originͷ bugfix΁ push

    commit͕ ൓ө͞Εͨ ࣗ෼͕ commit !
  37. ϦϞʔτϦϙδτϦ͔ΒͷQVMMͷྫ main bugfix main origin ϩʔΧϧϦϙδτϦ bugfix ͩΕ͔͕ commitͯ͠ push

  38. ϦϞʔτϦϙδτϦ͔ΒͷQVMMͷྫ bugfix main bugfix main origin ϩʔΧϧϦϙδτϦ origin͔Β pull commit͕

    Ϛʔδ͞Εͨ ͩΕ͔͕ commitͯ͠ push
  39. ϦϞʔτ΁ͷQVTIͷྫ git addͰεςʔδϯά git commitͰϩʔΧϧ ϦϙδτϦʹίϛοτ originͷmainϒϥϯν ΁൓ө͞Εͨ ϩʔΧϧͷϒ ϥϯν͸main

    README.mdΛमਖ਼ push ! ࠷ॳ͸ git push -u origin main 2ճ໨Ҏ߱ͳΒ git push ͚ͩͰOK
  40. (JU)VC΁ͷΞΫηεݖͷઃఆ npush͢Δʹ͸GitHubͷΞΧ΢ϯτೝূ͕ඞཁ • ΞΧ΢ϯτʴτʔΫϯํࣜ • ΞΧ΢ϯτʴύεϫʔυ͸࢖͑ͳ͘ͳΔ༧ఆʢ2021/Augʣ • ͔͠΋ຖճͷpushͰΞΧ΢ϯτɾύεϫʔυͷೖྗ͕ඞཁ • sshެ։ݤํࣜ

    • ຖճͷpushͰԿ΋ೖྗ͢Δඞཁ͕ͳ͍Α͏ʹͰ͖Δʢ͓͢͢Ίʣ • ࡞੒ํ๏ͱొ࿥ํ๏ • https://docs.github.com/ja/github/authenticating-to-github/adding-a-new- ssh-key-to-your-github-account sshެ։ݤํࣜͷͨΊʹ͸URLʹ͸ httpͰ͸ͳ͘sshΛ࢖͏͜ͱʂ
  41. 44)ެ։ݤͷ࡞੒ํ๏ nSSHΩʔͷ࡞੒ํ๏ • Windows10Ͱ΋macOSͰ΋linuxͰ΋σϑΥϧτͰssh-keygen͕࢖͑Δ͸ͣ • ίϚϯυʮssh-keygen -t rsa -b 4096ʯ

    σϑΥϧτͷ৔ॴ ʹ͓ͯ͘͠ʢԿ΋ ೖྗͤ͢Ϧλʔϯ ΩʔΛԡ͢ʣ ύεϑϨʔζ͸ઃ ఆ͠ͳ͍ʢԿ΋ೖ ྗͤ͢Ϧλʔϯ ΩʔΛԡ͢ʣ ʢ΋͏Ұ౓Կ΋ೖ ྗͤ͢Ϧλʔϯ ΩʔΛԡ͢ʣ
  42. 44)ެ։ݤͷ࡞੒ํ๏ nσϑΥϧτͷ৔ॴʢσϑΥϧτ͔Βมߋ͠ͳ͍ʣ • linux, macosɿϗʔϜσΟϨΫτϦ௚Լ • ~/.ssh/ • windowsɿʮϢʔβʔ໊ʯ͸ࣗ෼ͷϢʔβʔ໊ •

    C:¥Ϣʔβʔ¥Ϣʔβʔ໊¥.ssh¥ nϑΝΠϧ • id_rsaɿൿີݤ • ͜Ε͸ެ։ݤͱϖΞɽଞਓʹ͸౉͞ͳ͍ • id_rsa.pubɿެ։ݤ • ͜Ε͸ൿີݤͱϖΞɽ͜ΕΛGitHubʹొ࿥͢Δ
  43. 44)ެ։ݤΛ(JU)VC΁ొ࿥ ΞΧ΢ϯτͷ Settings͔Β SSH Keysʹ ߦͬͯ New SSH Key ͔Βొ࿥

  44. Keyʹ໊લΛ͚ͭΔʢͲͷ ϚγϯͰkeyΛ࡞੒ͨ͠ͷ ͔͕ޙͰ෼͔ΔΑ͏ʹʣ ެ։ݤϑΝΠϧid_rsa.pubΛς ΩετΤσΟλͳͲͰ։͍ͯɼ ͦͷத਎Λ͜͜ʹίϐϖ͢Δ ίϐϖͨ͠Β Add SSH KeyΛ

    ԡͯ͠ొ࿥
  45. 44)ΛϦϞʔτʹ͢Δ checkoutͷͱ͖ʹ URLΛsshʹͯ͠ ͓͘ ϦϞʔτ͸sshʹ ͳΔʢ͜ΕͰύε ϫʔυͳ͠Ͱ΋ pushͰ͖Δʣ

  46. ϦϞʔτઌΛIUUQ͔ΒTTI΁มߋ checkoutͷͱ͖ʹ URLΛhttpʹͯ͠ ͠·͍ͬͯͨΒ ϦϞʔτURL͸http ͷ··ʢ͜ΕͰ͸ pushͰ͖ͳ͍ʣ ʮgit remote rm

    ϦϞʔτઌ໊ʯ ͰҰ୴࡟আͯ͠ ʢେ఍͸origin͕ϦϞʔτ໊ʣ ʮgit remote add ϦϞʔτઌ໊ URLʯͰ௥Ճ
  47. None
  48. 7TDPEFͰHJUIVC

  49. gitλϒ͔Β ʮϦϙδτϦͷΫ ϩʔϯʯΛબ୒ gitλϒ͔Β ʮϦϙδτϦͷΫ ϩʔϯʯΛબ୒ ΋͘͠͸ίϚϯυ ύϨοτ͔Βgit cloneΛબ୒

  50. GitHub͔Βෳ੡

  51. ڐՄ͢Δ

  52. ϒϥ΢β͕։͍ͯGitHub΁ͷ ΞΫηεݖݶΛ༩͑ͯΑ͍͔ ฉ͍ͯ͘Δ ʢઌʹϩάΠϯ͕ඞཁʣ OKͳͷͰcontinue

  53. None
  54. ϒϥ΢β͔ΒϦμΠϨ Ϋτ͞ΕͨvscodeͰ΋ ڐՄ͢Δ

  55. ͜ΕͰvscode͔ΒɼgithubΞΧ ΢ϯτͷϦϙδτϦ͕ݟ͑Δ ʢϓϥΠϕʔτϦϙδτϦ΋ʣ Ϋϩʔϯ͢ΔϦϙδτϦΛબ୒ ͢Δͱ

  56. อଘઌΛબ୒͢Δ ͱΫϩʔϯ͞ΕΔ

  57. Ϋϩʔϯͨ͠ϑΥ ϧμΛ։͘

  58. None
  59. None
  60. 1VMM3FRVFTU

  61. ϓϧϦΫΤετ nPull RequestʢPRʣ • ུͯ͠ϓϧϦΫ • GitHubͷػೳʢgitͰ͸ͳ͍ʣ nࣗ෼ͷมߋΛଞऀʹ΋औΓࠐΜ Ͱ΋Β͏ґཔ •

    ϓϧʴϦΫΤετʹଞͷਓʹʮpull ͍ͯͩ͘͠͞ʯͱʮґཔʯ͢Δ nछྨ • ϒϥϯνؒͷPR • ϓϩδΣΫτνʔϜ಺ͷमਖ਼ • ϑΥʔΫؒͷPR • ϓϩδΣΫτ֎͔Βͷमਖ਼ nϓϧϦΫΛ༻͍ͨγεςϜ։ൃ • ։ൃऀ͸ίʔυΛमਖ਼͢Δ • ͦͷมߋΛϨϏϡΞʔʹPR • ϨϏϡΞʔ͸ͦͷPRΛϨϏϡʔ • OKͳΒɼϨϏϡΞʔ͕ͦͷPRΛ࠾ ༻͢ΔʹϚʔδ͢Δ • Ϛʔδ͢Δݖݶ͕։ൃऀͰ͸ͳ ͘ϨϏϡΞʔʹ͋Δ nOSS։ൃ • ੈքதͷ୭͔͕όάमਖ਼΍ػೳ௥ ՃΛߦ͏ • PRͰຊՈʹϚʔδΛґཔ
  62. 'PSLؒϓϧϦΫͷྫ main bugfix main someones/greatcode johnsmith/greatcode Fork bugfix ໘നͦ͏͔ͩΒ ϑΥʔΫͯ͠࢖ͬ

    ͯΈΑ͏
  63. 'PSLؒϓϧϦΫͷྫ main bugfix main ϓϧϦΫ bugfix someones/greatcode johnsmith/greatcode commit όά͕͔͋ͬͨΒ

    PRͰຊՈʹ஌Β ͤΑ͏ ͩΕ͔͕PRͯ͠ ͖͔ͨΒ֬ೝ͠Α ͏
  64. 'PSLؒϓϧϦΫͷྫ main bugfix main commit someones/greatcode johnsmith/greatcode bugfix Ϛʔδ ຊՈʹऔΓࠐ·Ε

    ͨʂ ྑͦ͞͏͔ͩΒ͜ ͷPR࠾༻
  65. ϓϧϦΫΤετͷ࣮ࡍͷྫ ϓϧϦΫͷ ಺༰Λॻ͍ͯ ૹ৴ ϓϧϦΫ Λड෇ ϓϧϦΫ https://github.com/PointCloudLibrary/pcl/pull/885

  66. https://github.com/PointCloudLibrary/pcl/pull/885 ϓϧϦΫΤετͷ࣮ࡍͷྫ ϓϧϦΫͷ ಺༰Λॻ͍ͯ ૹ৴ ϓϧϦΫ Λड෇ ϓϧϦΫ ΛϚʔδ ͜ͷϓϧϦΫ

    ͸Ϋϩʔζ ʢऴྃʣ
  67. ϒϥϯνؒϓϧϦΫͷྫ ৽͍͠ػೳΛ ։ൃͯ͠Ͷ feature main feature_dev ͸͍ʂ Ͱ͖· ͨ͠ʂ ͜Ε͡Ό

    μϝ ͜Ε͡Ό μϝ Ͱ͖· ͨ͠ʂ Ͱ͖· ͨ͠ʂ ·͋OK ͔ͳ ϓϧ ϦΫ ϓϧ ϦΫ ϓϧ ϦΫ ΍ͬͱ Ϛʔδ
  68. ϒϥϯνؒϓϧϦΫͷྫ feature main feature_dev Ϛʔδ Ϛʔδ ͔͠͠ී௨ʹ Ϛʔδͯ͠͠ ·͏ͱɽɽɽ ΁΅ί

    ϛοτ ϩά ΁΅ί ϛοτ ϩά ΁΅ί ϛοτ ϩά
  69. ϒϥϯνؒϓϧϦΫͷྫ feature main feature_dev Ϛʔδ ͔͠͠ී௨ʹ Ϛʔδͯ͠͠ ·͏ͱɽɽɽ ΁΅ί ϛοτ

    ϩά ෆཁͳίϛο τϩά΋͢΂ ͯϚʔδͯ͠ ͠·͏
  70. ϒϥϯνؒϓϧϦΫͷྫ feature main feature_dev Ϛʔδ ͦ͜Ͱ ʮsquashʯ ͰϚʔδ͢Δͱ ΁΅ί ϛοτ

    ϩά ͢΂ͯͷί ϛοτΛ1ͭʹ ·ͱΊΒΕΔ git merge --squash
  71. ϒϥϯνؒϓϧϦΫͷྫ feature main Ϛʔδ ෆཁͳϒϥϯνΛ ࡟আ ࠷ޙʹ ϝΠϯʹϚʔδ

  72. *TTVF

  73. *TTVFͱ͸ nissueʢΠγϡʔɼ՝୊ʣɿͳʹ͔͠Βͷ໰୊఺ nGitHubͷissue • issue͕͋Δ͜ͱΛ࿈བྷ͢Δखஈ • ʮissueΛཱͯΔʢopen an issueʣʯͱ͍͏ •

    ղܾͨ͠ΒͦͷʮissueΛด͡Δʢclose the issueʣʯͱ͍͏ • issueʹλάͳͲͷଐੑΛ͚ͭΒΕΔ • λάɿछྨʢόάɼཁ๬ɼ౳ʣ΍ঢ়ଶʢະணखɼணखࡁΈɼ౳ʣ • ׂ౰ɿ୲౰͢Δϝϯόʔ • ϓϧϦΫΤετΛඥ෇͚ΒΕΔ • ίϛοτΛඥ෇͚ΒΕΔ • issue͕ͲͷίϛοτͰमਖ਼͞Εͨͷ͔͕͙͢ʹ෼͔Δ
  74. *TTVFը໘ͷྫ https://github.com/pytorch/pytorch/issues

  75. *TTVFͱ13ͷྫ

  76. Issues΁ߦ͘ New IssueͰ issueΛ࡞੒

  77. submit new issueͰissue Λ࡞੒ issueͷλΠ τϧ issueͷ಺༰ Λmarkdown Ͱॻ͘

  78. issue͕࡞੒͞ Εͨ

  79. ৽͘͠devϒ ϥϯνΛ࡞੒ ͯ͠ ίʔυΛमਖ਼ ͢Δ

  80. मਖ਼ͨ͠ίʔυΛ add, commit, push -u: ϦϞʔτoriginʹϒϥϯν developmentΛ௥Ճ͢Δ

  81. ϒϥϯνdev͕௥ Ճ͞Ε͍ͯΔ

  82. Pull requests΁ ߦͬͯ New pull request ͰPR࡞੒

  83. mainϒϥϯν΁ PR͢Δϒϥϯν Λࢦఆʢ͜͜Ͱ͸ devʣ

  84. Create pull requestͰPR࡞੒

  85. PRͷλΠτϧͱ ຊจ(markdown) Λॻ͘ issueͱϦϯΫ͞ ͍ͤͨͷͰ

  86. ରԠ͢ΔissueΛ બͿ ͦͯ͠Create pull requestͰ৽نPR Λ࡞੒

  87. issueʹඥ෇͍ͨ PR͕࡞੒͞Εͨ

  88. Merge pull requestͰPR Λঝೝ͢Δʢ͜͜Ͱ͸ create a marge commitΛ બ୒ʣ

  89. confirm mergeͰ PRΛϚʔδ͢Δ

  90. PR͕Ϛʔδ͞Ε ͨ

  91. issueͷํ΋Ϛʔ δ͞Εͨද͕ࣔग़ Δ issueʹඥ෇͍ͨPR͕ Ϛʔδ͞ΕͨͷͰɼ͜ͷ issue͕ࣗಈతʹΫϩʔ ζʢऴྃʣ

  92. None
  93. None
  94. ՝୊ nGitHub্ͷϦϙδτϦΛϑΥʔΫͤΑ • ͦΕΛνΣοΫΞ΢τ͠ɼϩʔΧϧΛฤूͯ͠add, commit, pushΛߦ͏ • https://github.com/tttamaki/my-first-test-repo/tree/main Ͱ΋Α͍ nGitHubʹϦϙδτϦΛ࡞੒ͤΑ

    • ͦΕΛνΣοΫΞ΢τ͠ɼϩʔΧϧΛฤूͯ͠add, commit, pushΛߦ͏ • ΋͘͠͸طଘͷϩʔΧϧʹϦϞʔτΛઃఆͯ͠ɼಉ༷ʹߦ͏ nGitHubϦϙδτϦͰissueͱPRΛ࡞੒ͤΑ • ৽͘͠ϒϥϯνΛ੾ΓɼͦΕʹमਖ਼ΛՃ͑Δ • issueΛ࡞੒͠ɼͦΕʹඥ෇͍ͨPRΛ࡞੒͢Δ • PRΛϚʔδ͠ɼissue͕Ϋϩʔζ͢Δ͜ͱΛ֬ೝ͢Δ
  95. ૝ఆࢼݧ໰୊ n෼ࢄϦϙδτϦʹΑΔ؅ཧͱ͸ͲͷΑ͏ͳ΋ͷ͔Λઆ໌ͤΑ n෼ࢄϦϙδτϦͷαʔϏεʹ͸Կ͕͋Δͷ͔ΛྻڍͤΑ nGitHub͸ݚڀ΍։ൃʹͲͷΑ͏ʹར༻͞Ε͍ͯΔͷ͔Λड़΂Α nGitHubʹ͓͚ΔҎԼͷࣄฑʹ͍ͭͯɼ۩ମྫΛ༻͍ͯઆ໌ͤΑ • ϑΥʔΫ • ϓϧϦΫ •

    issue nGitHubͷϦϙδτϦΛ؅ཧ͢ΔҎԼͷgitίϚϯυΛઆ໌ͤΑ • git clone • git push • git remote