Slide 1

Slide 1 text

(JUͷ$-*ૢ࡞Λָʹ͢ΔͨΊʹ ΤΠϦΞεΛ࡞ͬͨ࿩

Slide 2

Slide 2 text

ࠓճ͸ɺ ʮ$6*ͬͯ͜Μͳ͜ͱͰ͖ΔΜͩʯ ͱࢥͬͯ΋Β͏͜ͱ͕໨ඪͰ͢

Slide 3

Slide 3 text

ϒϥϯνΛ੾Γସ͑Δʹ͸ $ git checkout develop $ git switch develop ࠷ۙ௥Ճ͞Εͨ

Slide 4

Slide 4 text

ଧͭͷ͕ΊΜͲ͍͘͞ $ git checkout develop $ git switch develop

Slide 5

Slide 5 text

ΤΠϦΞεΛ࡞Γ·ͨ͠ $ git checkout develop $ git switch develop $ git co develop ˜

Slide 6

Slide 6 text

ΤΠϦΞεΛ࡞Δʹ͸ શϢʔβͰ࢖͑ΔΑ͏ʹ͢Δ $ git config --system alias.co checkout ࠓͷϢʔβ͚ͩͰ࢖͑ΔΑ͏ʹ͢Δ $ git config --global alias.co checkout ࠓͷϦϙδτϦ͚ͩͰ࢖͑ΔΑ͏ʹ͢Δ $ git config alias.co checkout

Slide 7

Slide 7 text

͍Ζ͍Ζ࡞ͬͯ·͢ [alias] a = add s = status b = branch f = fetch cm = commit co = checkout st = stash stp = stash pop pushh = push origin HEAD pushf = push -f origin HEAD pulll = pull origin HEAD undo = reset --soft HEAD~ redo = commit -c ORIG_HEAD ~/.gitconfig

Slide 8

Slide 8 text

Ͱ΋ɼ·ͩΊΜͲ͍͘͞ $ git co develop

Slide 9

Slide 9 text

·ͨΤΠϦΞεΛ࡞Γ·ͨ͠ $ git co develop $ co develop ˜

Slide 10

Slide 10 text

ΤΠϦΞεΛ࡞Δํ๏ bash $ alias co='git checkout' >> ~/.bashrc $ source ~/.bashrc zsh $ alias co='git checkout' >> ~/.zshrc $ source ~/.zshrc fish $ alias co='git checkout’

Slide 11

Slide 11 text

͜Ε΋͍Ζ͍Ζ࡞ͬͯ·͢ alias s='git status' alias b='git branch' alias cm='git commit' alias co='git checkout' alias st='git stash' alias stp='git stash pop' alias pulll='git pull origin HEAD' alias pushh='git push origin HEAD' alias undo='git reset --soft HEAD~' alias redo='git reset -c ORIG_HEAD' ~/.config/fish/fish.config

Slide 12

Slide 12 text

·ͩ͋Γ·͢

Slide 13

Slide 13 text

ϒϥϯν໊Λଧͭͷ͕ΊΜͲ͍͘͞ $ git branch add-manual-operation-for-ranking add-test-customer * develop fix/series-create $ co add-manual-operation-for-ranking $ co add-test-customer $ co fix-series-creation

Slide 14

Slide 14 text

͜Ε΋͔ΜͨΜʹ͠·͢ $ co add-manual-operation-for-ranking $ co add-test-customer $ co fix-series-creation $ cb (change-branchͷҙຯ) ˜

Slide 15

Slide 15 text

࢖͍ํ DCͱೖྗͯ͠&OUFS ϒϥϯνҰཡ͕දࣔ͞ΕΔ

Slide 16

Slide 16 text

࢖͍ํ ΩʔϫʔυͰߜΓࠐΈ &OUFSͰϒϥϯν͕੾ΓସΘΔ

Slide 17

Slide 17 text

͜ΜͳΤΠϦΞεΛ࡞ͬͯ·͢ cb="git switch (string trim -l -c ' *' (git branch | peco))" ~/.config/fish/fish.config

Slide 18

Slide 18 text

$6*͸͍ΖΜͳ͜ͱ͕Ͱ͖ΔͷͰ ͥͻ࢖ͬͯΈ͍ͯͩ͘͞