Slide 1

Slide 1 text

$PNNJUNFTTBHFXJMMOFWFSEJF 4BU 3BJMTίϯτϦϏϡʔγϣϯ ͔ΒֶΜͩ (JU(JU)VCज़ ҏ౻ߒҰ !LPJD FTN 3BJMT%FWFMPQFST.FFUVQEBZ άϥϯτ΢Ωϣ΢α΢ελϫʔ֊

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

ࠓ೔ͷ࿩

Slide 8

Slide 8 text

IUUQTUXJUUFSDPNLPJDTUBUVT

Slide 9

Slide 9 text

SBJMTSBJMT 3FNPWFA"4.VMUJCZUFATVOJDPEFUBCMF

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

$POUFYU Կނඞཁ͔

Slide 12

Slide 12 text

$POUFYU Կނඞཁ͔ .FSJU ͲΜͳಘ͕

Slide 13

Slide 13 text

)PX ࣮૷ϙΠϯτ

Slide 14

Slide 14 text

)PX ࣮૷ϙΠϯτ ࣮ࡍ͸· ͩଓ͘

Slide 15

Slide 15 text

.FTVSF ܭଌ

Slide 16

Slide 16 text

.FTVSF ܭଌ Ϛʔδͯ͠΋Β͏ͨΊʹඞཁͳ৘ใΛ ඞཁͳ͚ͩ٧Ί͍ͯΔ

Slide 17

Slide 17 text

ŠŠŠŠŠŠŠ౰ͨΓલΛ౰ͨΓલʹ Step up your natural commit skill

Slide 18

Slide 18 text

,BUB

Slide 19

Slide 19 text

w5IFTFWFOSVMFTBHBJO w.Z3PDL)FSPFTJO +BQBO w(JU(JU)VCXPSLqPX "HFOEB

Slide 20

Slide 20 text

w5IFTFWFOSVMFTBHBJO w.Z3PDL)FSPFTJO +BQBO w(JU(JU)VCXPSLqPX "HFOEB

Slide 21

Slide 21 text

IUUQTDISJTCFBNTJPQPTUTHJUDPNNJU

Slide 22

Slide 22 text

4FQBSBUFTVCKFDUGSPNCPEZXJUIBCMBOLMJOF -JNJUUIFTVCKFDUMJOFUPDIBSBDUFST $BQJUBMJ[FUIFTVCKFDUMJOF %POPUFOEUIFTVCKFDUMJOFXJUIBQFSJPE 6TFUIFJNQFSBUJWFNPPEJOUIFTVCKFDUMJOF 8SBQUIFCPEZBUDIBSBDUFST 6TFUIFCPEZUPFYQMBJOXIBUBOEXIZWTIPX 5IFTFWFOSVMFTPGBHSFBU(JU DPNNJUNFTTBHF

Slide 23

Slide 23 text

IUUQTQPTUEDDIPXUPXSJUFBHJUDPNNJUNFTTBHF

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

৺ʹཹΊ͓͍͍ͯͯͩ͘͞ ͜Ε͸ࠓ·Ͱ΋ ݴΘΕ͖ͯͨ ͣͬͱ ͜ͱͰ͢ɻ

Slide 26

Slide 26 text

कഁ཭

Slide 27

Slide 27 text

कഁ཭

Slide 28

Slide 28 text

.JYJO+BQBOFTF

Slide 29

Slide 29 text

Slide 30

Slide 30 text

w ߦۭ͚ͯॻ͖·͠ΐ͏ w HJUͷίϛοτϝοηʔδ͸ߦ໨͕ λΠτϧɺߦ໨Ҏ͕߱ຊจ w ߦ໨ΛۭʹͤͣຊจΛॻ͘ͱશͯλ Πτϧѻ͍ʹͳΓɺgit --oneline ΍tig ίϚϯυͰҰॹͨ͘ʹͳΔ λΠτϧͷޙ͸ߦۭ͚ͯຊจΛॻ͘

Slide 31

Slide 31 text

λΠτϧͷޙ͸ߦۭ͚ͯຊจΛॻ͘ λΠτϧ ߦ໨ ຊจ ߦ໨Ҏ߱ ۭߦ ߦ໨

Slide 32

Slide 32 text

Slide 33

Slide 33 text

w ࣈ͸໨҆Ͱଟগӽ͑ͯ΋ྑ͍ w ཁ໿ʹͰ͖ͳ͍΄Ͳ௕͘ͳΔΑ͏Ͱ͋ Ε͹ͦΕ͸ຊจʹॻ͘͜ͱ w ίϛοτϝοηʔδ͸ʮԿނʯΛॻ͘ ΋ͷ͕ͩλΠτϧ͸ʮԿΛʯͰྑ͍ λΠτϧΛࣈҎ಺ʹ͓͞ΊΔ

Slide 34

Slide 34 text

Slide 35

Slide 35 text

w จষͷ࢝Ί͕େจࣈ͸ӳจ๏ͷجຊ w lӳจ๏จষઌ಄େจࣈz<ݕࡧ> w ೔ຊޠͳΒؾʹ͠ͳ͍ ؔ܎ͳ͍ λΠτϧͷจ಄Λେจࣈʹ͢Δ

Slide 36

Slide 36 text

Slide 37

Slide 37 text

w λΠτϧྖҬΛݮΒͤΔ w ೔ຊޠͰ΋۟఺͸ෆཁ w ۟఺͕ݱΕΔͱಡ఺΋ݱΕ࢝ΊͨΓཁ ໿͔Β௕Ίͷઆ໌΁ͱ཭Ε͍ͯ͘ w ΧϯϚɺಡ఺໨ඪͰ࠷େճΛ໨҆ ʹ͍ͯ͠Δ λΠτϧͷจ຤ʹϐϦΦυΛ෇͚ͳ͍

Slide 38

Slide 38 text

Slide 39

Slide 39 text

w /" w ೔ຊޠͷ৔߹͸ମݴࢭΊ͔༻ݴࢭΊ͔ ΛͳΔ΂͘౷Ұ͍ͯ͠Δ w ݸਓతʹ͸༻ݴࢭΊΛ࢖͍ͬͯΔ w ந৅ྫʓʓΛ˚˚͢Δ λΠτϧ͸໋ྩ๏Ͱهड़͢Δ

Slide 40

Slide 40 text

Slide 41

Slide 41 text

w ࣈ͸໨҆Ͱଟগӽ͑ͯ΋ྑ͍ w 13ͷຊจʹॻ͘಺༰Λه͓ͯ͘͠ͱ ྑ͍ ޙड़͢Δ(JU)VCͱͷ࿈ಈྫ ຊจ͸ߦ͋ͨΓࣈҎ಺ʹ͓͞ΊΔ

Slide 42

Slide 42 text

Slide 43

Slide 43 text

w ʮͲͷΑ͏ʹ )PX ʯ͸࣮૷ΛಡΊ ͹Θ͔Δ w ʮԿΛ 8IBU ʯ͸ίϛοτϝοηʔ δߦ໨ʹλΠτϧͱͯ͠ه͢ w ʮͳͥ 8IZ ʯ͸ίϛοτϝοηʔ δߦ໨ͷຊจͱͯ͠ه͢ ຊจͰ͸ʮͲͷΑ͏ʹʯͰ͸ͳ͘ʮԿ ΛʯͱʮͳͥʯΛઆ໌͢Δ

Slide 44

Slide 44 text

8IBU ԿΛ͢Δ͔

Slide 45

Slide 45 text

$POUFYU Կނඞཁ͔ 8IBU ԿΛ͢Δ͔

Slide 46

Slide 46 text

$POUFYU Կނඞཁ͔ .FSJU ͲΜͳಘ͕ 8IBU ԿΛ͢Δ͔

Slide 47

Slide 47 text

$POUFYU Կނඞཁ͔ .FSJU ͲΜͳಘ͕ 8IBU ԿΛ͢Δ͔ 8IBU

Slide 48

Slide 48 text

$POUFYU Կނඞཁ͔ .FSJU ͲΜͳಘ͕ 8IBU ԿΛ͢Δ͔ 8IZ 8IBU

Slide 49

Slide 49 text

5IFTFBSF (VJEFMJOFT IUUQKBXJLJQFEJBPSHXJLJ&""&""&##&&##"NFEJB'JMF$BOUJOP1MBOJTQIFSFQOH

Slide 50

Slide 50 text

w5IFTFWFOSVMFTBHBJO w.Z3PDL)FSPFTJO +BQBO w(JU(JU)VCXPSLqPX "HFOEB

Slide 51

Slide 51 text

)FSPFT !LBNJQP !ZZBHJ !BNBUTVEB BOENPSF !ZBIPOEB !QPDLF

Slide 52

Slide 52 text

w ڧͦ͏ͳਓͨͪɻڧͦ͏ͳਓͨͪΛਅ ࣅΕ͹ڧ͘ͳΕͦ͏ w ڧ͍ਓୡ͸ίϛοτϝοηʔδ΋ڧ͍ w ίʔυ͚ͩͰͳ͘ίϛοτϝοηʔδ ΋ެ։͞Εͯͯഎத͔Β,BUBΛֶͿ ͜ͱ͕Ͱ͖Δ )FSPJTTUSPOH

Slide 53

Slide 53 text

,BUB 28"/ JO 2VBMJUZ8JUIPVU"/BNF

Slide 54

Slide 54 text

w l/PEFTDSJQUJPOQSPWJEFE͸ ಛʹॳର໘ʹରͯ͠ ࣦྱz w lͳͥͦͷ13ΛϚʔδ͢Δඞཁ͕͋ Δͷ͔Λॻ͘z w l༗ӹͳ৘ใ͸͢΂ͯه͢z w l$PTNFUJDDIBOHFͰ͸͋͑ͯ͋ ·Γॻ͔ͳ͍ ࣭ྔͷରൺ z )FSPFT໊ݴू ࢲͷίϯύε

Slide 55

Slide 55 text

lOPEFTDSJQUJPO QSPWJEFEzΛ߇͑Δ (JU(JU)VC5JQT

Slide 56

Slide 56 text

#FGPSF IUUQTHJUIVCDPNNVSZPJNQMCVPZTQVMM

Slide 57

Slide 57 text

"GUFS IUUQTHJUIVCDPNCCBUTPWSVCPDPQQVMM

Slide 58

Slide 58 text

w5IFTFWFOSVMFTBHBJO w.Z3PDL)FSPFTJO +BQBO w(JU(JU)VCUJQT "HFOEB

Slide 59

Slide 59 text

My workflow before and after

Slide 60

Slide 60 text

w NBTUFSʹ͍Δ··࡞ۀ w ࡞ۀ໨ॲ͕͍ͭͨΒϒϥϯνΛ੾Δ w HJUDPNNJU࣌ʹ͸λΠτϧ͚ͩΛ ॻ͍ͯίϛοτ w 13ͰຊจΛॻ͘ ʙ೥͘Β͍લͷ࡞ۀϑϩʔ

Slide 61

Slide 61 text

w ࡞ۀͷཁ໿Λϒϥϯν໊ʹͯ͠ϒϥϯ νΞ΢τ w λΠτϧͱຊจΛίϛοτ w 13͸੔ܗͷΈ ݱࡏͷ࡞ۀϑϩʔ

Slide 62

Slide 62 text

w ࡞ۀͷཁ໿Λϒϥϯν໊ʹͯ͠ϒϥϯ νΞ΢τ w λΠτϧͱຊจΛίϛοτ w 13͸੔ܗͷΈ ݱࡏͷ࡞ۀϑϩʔ 5JQT঺հ

Slide 63

Slide 63 text

lOPEFTDSJQUJPOQSPWJEFEzΛ߇͑Δ ࡞ۀ໨తʹ͍ͭͯϒϥϯν໊Λ෇͚Δ ϒϥϯνΛߜΓࠐΊΔΑ͏ʹ͢Δ .BSLEPXOΛ࢖ͬͯίϛοτϝοηʔδΛॻ͘ λΠτϧͱҰॹʹຊจΛॻ͘ $MPTJOHLFZXPSETΛ׆༻͢Δ ؔ࿈͢Δίϛοτ͸TRVBTI͢Δ (JU(JU)VCUJQT ࡁ

Slide 64

Slide 64 text

࡞ۀ໨తʹ͍ͭͯ ϒϥϯν໊Λ෇͚Δ (JU(JU)VC5JQT

Slide 65

Slide 65 text

w ࡞ۀ ్த ͷ͜ͱʹ͍֮ͭͯॻʹͳΔ w (JU)VCͰͷλΠτϧΛΠϝʔδ͢Δ w Ϛʔδ͞ΕΔࡍʹl.FSHFQVMM SFRVFTUGSPNVTFS CSBODIOBNFzͱ͍ͬͨײ͡Ͱλ ΠτϧʹೖΔͷͰͳΔ΂͘୹ͯ͘͠Δ ࡞ۀ໨తʹ͍ͭͯϒϥϯν໊Λ͚ͭΔ

Slide 66

Slide 66 text

λΠτϧͱϒϥϯν໊ͷ૬ҧ FH ϒϥϯν໊

Slide 67

Slide 67 text

λΠτϧͱϒϥϯν໊ͷ૬ҧ FH ϒϥϯν໊

Slide 68

Slide 68 text

λΠτϧͱϒϥϯν໊ͷ૬ҧ FH ϒϥϯν໊

Slide 69

Slide 69 text

λΠτϧͱϒϥϯν໊ͷ૬ҧ FH ϒϥϯν໊

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

ϒϥϯνΛߜΓࠐΊΔΑ͏ ʹ͢Δ (JU(JU)VC5JQT

Slide 72

Slide 72 text

ϒϥϯν໊ͰߜΓࠐΉ alias cb=‘ git checkout ` git branch | peco | sed -e "s/\* //g" | awk "{print \$1}"`' IUUQTHJUIVCDPNLPJDEPUpMFTCMPCFECECGBCGCEPUTIHJUTI- ߜΓࠐΈ༻ ΤΠϦΞε

Slide 73

Slide 73 text

ϒϥϯν໊ͰߜΓࠐΉ IUUQTHJUIVCDPNLPJDEPUpMFTCMPCFECECGBCGCEPUTIHJUTI- QFDPͰߜΓࠐΈ

Slide 74

Slide 74 text

w LPJDΦϦδφϧ w ࡞Γ͔͚ͷϩʔΧϧͷ΋ͷɺੜࣽ͑Ͱ ެ։ʹ͸ૣ͗͢Δ w ෳ਺ͷ࡞ۀதϒϥϯνΛ࣋ͭϦϙδτ ϦͰͷϒϥϯνߜΓࠐΈͷϔϧύʔ w ෆඞཁʹόοΫϦϯΫΛ͚ͭͨ͘ͳ͍ ࡞ۀதϒϥϯνͷ઀಄ࢠʹXJQ@Λ෇͚Δ

Slide 75

Slide 75 text

XJQ@Ͱ࢝·Δϒϥϯν͸QVTIͰ͖ͳ͍ #!/bin/sh # if [ "$(git rev-parse --abbrev-ref HEAD | grep '^wip_')" ]; then echo "\033[0;31m[ABORT] You cannot push a branch whose prefix is \`wip_\`. \033[0;39m" 1>&2 exit 1 fi exit 0 IUUQTHJUIVCDPNLPJDEPUpMFTDPNNJUGCBCEEDEFGCCEFEGB HJUIPPLT QSFQVTI

Slide 76

Slide 76 text

%&.0

Slide 77

Slide 77 text

.BSLEPXOΛ࢖ͬͯ ίϛοτϝοηʔδΛॻ͘ (JU(JU)VC5JQT

Slide 78

Slide 78 text

IUUQLPJDIBUFOBCMPHDPNFOUSZHJUDPOpHHMPCBMDPSFDPNNFOUDIBS

Slide 79

Slide 79 text

w HJUͷσϑΥϧτͩͱɺίϛοτϝοηʔ δΛฤू͢ΔΤσΟλͰͷίϝϯτߦ͕ ʹͳ͍ͬͯΔ w ҰํͰ(JU)VCͷ1VMM3FRVFTUͰ จॻߏ଄Λ࡞Δ࣌͸.BSLEPXOͱͳ ΔͨΊɺݟग़͠ʹ࢖͏͕ίϝϯτߦͱ ͯ͠ίϛοτϝοηʔδ͔Βফ͍͑ͯͨ ΁Μෆศ .BSLEPXOͰॻ͘5JQ

Slide 80

Slide 80 text

ίϝϯτͷจࣈΛ͔Βมߋ͢Δ % git config --global core.commentchar '^' ?ʹมߋ͢Δ w ΋ͪΖΜ?Ͱͳͯ͘΋ྑ͘ɺϓϥοτϑΥʔ ϜͰൺֱతߦ಄ʹ࢖Θͳͦ͞͏ͳ΋ͷΛબͿ w ྫ͑͹3VCZͩͱ΍!ͳͲ͸ίϛοτϝο ηʔδͰίʔυྫΛه͠͏ΔͷͰ࢖͑ͳ͍

Slide 81

Slide 81 text

ίϝϯτͷจࣈΛ͔Βมߋ͢Δ diff --git a/dot.gitconfig b/dot.gitconfig index 07e3ef8..a95eae6 100644 --- a/dot.gitconfig +++ b/dot.gitconfig @@ -30,6 +30,7 @@ branch = auto interactive = auto [core] + commentchar = ^ editor = emacsclient -nw -a '' excludesfile = ~/.gitignore [diff] % git config --global core.commentchar '^' HJUDPOpH΁ͷ௥Ճ

Slide 82

Slide 82 text

λΠτϧͱҰॹʹຊจΛॻ͘ (JU(JU)VC5JQT

Slide 83

Slide 83 text

w 1VMM3FRVFTUʹॻ͘͜ͱΛ͋Β͔͡Ίί ϛοτϝοηʔδʹه͢ w ʮίϛοτˠ13࣌ʹॻ͘ʯͰ͸ͳ͘ʮίϛο τ࣌ʹॻ͘ˠ13͸੔ܗ͘Β͍ʯ w Ͳ͏ͤॻ͘ͳΒϒϥ΢βͰ͸ͳ͘޷͖ͳΤ σΟλͰ w NBTUFSQVTI͢Δͱ͖ͱྲྀΕΛม͑ͳ͍ λΠτϧͱҰॹʹຊจΛॻ͘

Slide 84

Slide 84 text

HJUDPNNJU࣌ʹΤσΟλฤू͢Δ

Slide 85

Slide 85 text

13࣌ʹλΠτϧຊจ͕ຒ·ͬͯΔ

Slide 86

Slide 86 text

$MPTJOHLFZXPSET Λ׆༻͢Δ (JU(JU)VC5JQT

Slide 87

Slide 87 text

w ίϛοτϝοηʔδʹ'JYFT൪߸ ͳͲؚΉͱ*TTVF΁ͷΫϩʔζ࿈ܞ ʹͳΔ w طʹڍ͕͍ͬͯΔ*TTVF΁ͷϙΠϯ λʹ΋ͳΔར఺͕͋Δ $MPTJOH,FZXPSETΛ׆༻͢Δ

Slide 88

Slide 88 text

IUUQTIFMQHJUIVCDPNBSUJDMFTDMPTJOHJTTVFTVTJOHLFZXPSET ༗ޮͳΩʔϫʔυ

Slide 89

Slide 89 text

'JYFTͷྫ FH *TTVFΛ ࢦఆ͍ͯ͠Δ

Slide 90

Slide 90 text

'JYFTͷྫ FH *TTVFΛ·ͱΊͯ ࢦఆ͍ͯ͠Δ

Slide 91

Slide 91 text

'JYFTͷྫ FH ϦϙδτϦʹΑΓ λΠτϧهࡌ

Slide 92

Slide 92 text

ؔ࿈͢Δίϛοτ͸ TRVBTI͢Δ (JU(JU)VC5JQT

Slide 93

Slide 93 text

ຬΛ࣋ͯ͠13΁ͷ४උ 1SPCMFN දग़͢Δ໰୊

Slide 94

Slide 94 text

ຬΛ࣋ͯ͠13΁ͷ४උ $POUFYU ඞཁͳഎܠ

Slide 95

Slide 95 text

ຬΛ࣋ͯ͠13΁ͷ४උ 8IZ ରҊͱͷൺֱ $POUFYU ඞཁͳഎܠ

Slide 96

Slide 96 text

0QFOB13

Slide 97

Slide 97 text

ࢲͷ3VCP$PQྗ͸ Use ""

Slide 98

Slide 98 text

No content

Slide 99

Slide 99 text

TRVBTI HJUQVTIIFBEG

Slide 100

Slide 100 text

w ϝϯςφ͸ɺϩʔΧϧͰͷ։ൃ ྫ5%% ʹΑΔSFEDPNNJUHSFFO DPNNJUSFGBDUPSDPNNJUͷ ίϛοτཻ౓ʹ͸ڵຯ͕ͳ͍ w 13લͷϩʔΧϧ͸࡞ۀΛҰ۠੾Γͨ͠ ཻ͍౓ɺ13ϚʔδޙͷϦϞʔτ͸มߋ ཤྺΛ௥ཻ͍͍ͨ౓ͱͳΔ TRVBTI΁ͷࢥߟ

Slide 101

Slide 101 text

w ϝϯςφϯεͰݫີʹॏཁͳͷ͸ҎԼ w ίϛοτͰͭͷมߋཧ༝Ͱ͋Δ͜ͱ w ςετίʔυ͕ηοτͰ͋Δ͜ͱ w ݁࿦13ϨϏϡʔޙʹTRVBTI͢Δ Α͏ٻΊΒΕΔ͕ɺ͜Ε͸ਖ਼͍࢟͠੎ Ͱ͋Δ TRVBTI΁ͷࢥߟ

Slide 102

Slide 102 text

͓Ϛʔδ

Slide 103

Slide 103 text

ϝϯςͷྺ࢙ʹ։ൃ్্ͷ͸ෆཁ ίϛοτʹTRVBTIͯ͠ ෆཁͳίϛοτ͕ݱΕͳ͍

Slide 104

Slide 104 text

ॱಓ੍উ ͍·͋ΔྗͰಊʑͱίϛϡχςΟʹࢀՃ

Slide 105

Slide 105 text

w SBJMTSBJMTϦϙδτϦ͔Β͸ɺ3BJMTͷίʔ υ͚ͩͰͳ͘13ͷग़͠ํ͔Βίϛοτϝο ηʔδͷॻ͖ํ΋ֶͿ͜ͱ͕Ͱ͖Δ w ಛʹίϯτϦϏϡʔλ࣌୅͔Βίϛολʔ ʹͳ͍ͬͯΔ3BJMTίϛολʔͷίϛοτ ͸͓खຊʹ͓͢͢Ί ૞ࠪҰ՝՝௕ײ͋Δ w ίϛοτϝοηʔδΛ੍͢Δ΋ͷ͸Ϧϙδ τϦͷྺ࢙ͷ҆ఆΛ੍͢Δ ͓ΘΓʹ

Slide 106

Slide 106 text

IUUQTUXJUUFSDPNLPJDTUBUVT

Slide 107

Slide 107 text

3BJMT044ύονձ ݄࣍։࠵

Slide 108

Slide 108 text

࣍ճ݄೔ ݄ ʙFTNʹͯ :PV

Slide 109

Slide 109 text

No content

Slide 110

Slide 110 text

One more thing…

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 text

͋ͱ͸෼͔Γ·͢Ͷʁ ࠾༻ ೥Ҏ্ͷ3BJMTΞϓϦ։ൃͷ࣮੷ l3BJMT044Λ௨͡੒௕͍ͨ͠ϓϩάϥϚʔz @koic·ͰͲ͏ͧ