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

ぷれこみっと。

 ぷれこみっと。

TeckUp LT#1 2019/07/13

yumechi(Motoki Hirao)

July 13, 2019
Tweet

More Decks by yumechi(Motoki Hirao)

Other Decks in Programming

Transcript

  1. ΀Ε͜Έͬͱɻ
    @__yumechi

    View full-size slide

  2. ࣗݾ঺հ
    • ΤϯδχΞɾٕज़޿ใͱ͍͏͕ᷚ͋Δ
    • PythonͱSQLΛ࢓ࣄͰॻ͍ͯɺझຯͰ͸TypeScript͍ͨ͠
    • twitter: @__yumechi

    View full-size slide

  3. ࢿྉ͸ࠓ͖ͬ͞࡞ͬͨͷͰɺ
    ϛε͕͋ͬͨΒ͢Έ·ͤΜ

    View full-size slide

  4. ࠓ೔ͷ࿩ɿ
    ΀Ε͜Έͬͱ

    View full-size slide

  5. Έͳ͞ʔΜɺGit࢖ͬͯΔʔʁ
    • ࢖ͬͯ·͢ΑͶʁʢ͢ͰʹރΕ͍ͯΔٕज़ͩͱࢥͬͯΔʣ
    • ࢖͍͜ͳͯ͠Δʔʁ
    • Git-Flowͯ͠Δʁ Issueۦಈͯ͠Δʁ

    View full-size slide

  6. ͱ͜ΖͰ
    • पลπʔϧ΍࢓૊Έ΋׆༻͍ͯ͠·͔͢ʁ
    • GUIͰૢ࡞Ͱ͖ΔSourceTreeͱ͔΋͋Γ·͢Ͷʔ
    • TUIͰૢ࡞Ͱ͖ΔTigͱ͔͋Γ·͢Ͷʔ

    View full-size slide

  7. hookɺ࢖ͬͯ·͔͢ʁ
    • commit΍pushͷ௚લɺ௚ޙͰૢ࡞Λ࢓ֻ͚Δ͜ͱ͕Ͱ͖Δ

    View full-size slide

  8. Կ͕ศརʁ
    • LinterΛ૸ΒͤͨΓͰ͖Δ
    • ͦΕ͕௨Βͳ͍ͱcommit΍pushͰ͖ͳ͍

    View full-size slide

  9. ศརʹ͢ΔͨΊͷπʔϧ
    • Python੡ͷpre-commitͱ͍͏πʔϧ͕ଘࡏ͢Δ
    • ࠓ͙͢ pip install pre-commit ͢ΔΜͩ
    • ͜ΕΛ࢖͏ͱΠν͔Βॻ͔ͳͯ͘΋ྑ͍ͷͰ͢Α

    View full-size slide

  10. ࣮ࡍʹݟͯΈΑ͏ʂ

    View full-size slide

  11. ·ͱΊ
    • hookΞΫγϣϯΛ࢖͍͜ͳ͢ͱศར
    • pre-commitͰࡉ͔͍νΣοΫ͸ͯ͠͠·͓͏
    • ͦͯ͠࢖͑ͦ͏ͳײ͡ͷ΋ͷΛ࢖ͬͨΒGitHubʹެ։͠Α͏

    View full-size slide