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

AWS演習(3)- GitHub・ソーシャルコーディング

axi-sugiki
February 05, 2019

AWS演習(3)- GitHub・ソーシャルコーディング

授業の演習で使用した資料です.一コマの演習,また2年生を対象とした演習で,1年生では専門教育を行わず,2年生から学部・学科に配属されるため,この辺りに水準を合わせています.

axi-sugiki

February 05, 2019
Tweet

More Decks by axi-sugiki

Other Decks in Education

Transcript

  1. GitHub ◦   50!$ ◦ Git6$$$ #1.7 '/ ◦

    $$""62)+7 ,& ◦ 2018*Microsoft 4( 03 3 TensorFlow on GitHub: https://github.com/tensorflow/tensorflow GitLab %-$
  2. GitHubH: B   ◦ %9#15!9)7 ◦ SNSS CF WL

    ◦ WLHK%9$!9+9/7Y><JZ ◦ NOEI%.*GitHub VG @H;W ◦ CI/CD ◦ CIYQRM7( 69#37Z ◦ WLT/&#2!9+U=($* ◦ AX [07WL'49U=MP? ◦ CDYQRM)4,4Z ◦ U=M449$8"9-$DW ◦ Blue-Green Deployment 4
  3. GitHub  ,3"+ ◦ GitHub9https://github.com/:  5 !4) 9(%!1: -0/

    4)8 ; $7 !& 2.; *6 5 9$7: ! #' Sign up,3 "+
  4. GitHubD!#1"A2/3B ◦ 74!>2 7 201901574!  @$?  #1*; A%,#6:3-

    B /9.+C/9<'3(  Student Developer Pack=  8&)
  5. GitHub. #* ◦ - $" 9   + 

    !&%,  (   )' 
  6. GitHub Flow ◦ GitHub  =7 *< 5 ◦ -

    3>;@"%$&)$A +1 ◦ 23>; =7B40, 3>;8. 11 (1) 2"' Feature +1 (2) ) 9?(  /: (3) $# = (4) Master ) Master"' @!'A Feature"' @=76A
  7. GitHub Flow $& ◦  # .2?H): ( ◦ 

    # &K& # 5?H ◦ 9>E'A=BK # & 12 _v0.xlsx &.xlsx &_v3_ sugikiI9>;J.xlsx &_v3_sugikiI9>;J  2.xlsx _v1.xlsx (1)  # & I!% )7J (2) &  # 7@ -1 I):J (3)  #3 48 E'A ,< &#F* I#"J (4) E'A ,< +0 7@ DC (5)  # 48G/ & I6/ &J &_ {v1,v2,v3}.xlsx
  8. Git(Hub) (0>6 ◦ "#!    #  

    13 #  @GitHubA "#!  @=93 $A pull push )+ clone >6: "#!  >6%2 < '47.;8 5?B #   *1 #    &-,/
  9. (+ ◦ GitHub  C%'  )! ◦ #,*-/branch.printf() $"

      .commit.pull request.merge.branch close ◦ #,  -/branch.& 10$"  .commit.pull request.merge. branchclose 14
  10. 3/9 ◦ AWSEC2DLAMI ◦ AMIDeep Learning AMI ◦  

    t2.micro ◦   Web Security Group 17
  11. '*14/92 ◦ Tera TermSSH 3GitHub$  /)&clone1.-2 18 Clone or

    download 0% ,( URL  git clone [URL] #+ "GitHub  !
  12. 5:F5/9G ◦ clone!! 9*% $ )4 ◦ git checkout )4

    ◦ D1 , HC>A # E7 19 clone!! cd !! 9* git status 8@ 6-master $ ' GitHub &2init_main $ )4 init_main $ .3 emacs C>A # <B &2 gcc $" /= 8@ F#  ?C(0+<; G
  13. .166/97 ◦ # #05$4+8! 20 git status /3 2 $-

      * main.c4+8gitcommit 6a.out&&  (27 GitHub'#"&# # %&$# #),push
  14. #'.8/9/ ◦ Pull request0 . &/ ◦ !0pull request )$

    22 %+0pull request   " *-0 pull request  Pull Request(  ,(
  15. .3(;git 91/2: ◦ ' ◦ git init [project name] ◦

     )0'#" ◦ git clone [url] ◦ *% #" ◦ ,&-2 ◦ git status ◦ ,&-2 ◦ $+' ◦ git add [file] ◦ 64 6 ◦ git commit –m “[comment]” ◦ $+ 9$+7 15!/: ◦ git rm [file] ◦  648 24
  16. %&*git  (2/2) ◦   ◦ git branch [branch

    name] ◦    ◦ git checkout [branch name] ◦   # ◦ git branch –d [branch name] ◦   ' ◦ "$ ◦ git push ◦ "  !(push) ◦ git pull ◦  "!(pulll) 25