いつやるの?Git入門
Upcoming SlideShare
Loading in...5
×
 

いつやるの?Git入門

on

  • 190,678 views

↓のv1.1.0版の方が、より見やすく改善したものになってます! ...

↓のv1.1.0版の方が、より見やすく改善したものになってます!
http://www.slideshare.net/matsukaz/git-28304397

社内で開催したGit勉強会の資料。
SVNとの比較や、Gitの内部構造と各コマンドの関係、ブランチやリモートリポジトリとの関係を分かりやすく説明したつもり。

こういう資料に対する投げ銭的なのがどうなるのか気になっていたので、もしよろしければ・・・!15円からできるソーシャルカンパサービスだそうですm(_ _)m
http://kampa.me/t/dev

Statistics

Views

Total Views
190,678
Slideshare-icon Views on SlideShare
48,376
Embed Views
142,302

Actions

Likes
404
Downloads
856
Comments
9

78 Embeds 142,302

http://programmerbox.com 52811
http://www.find-job.net 52490
http://morizyun.github.io 21419
http://nanapi.jp 4776
http://bikkuri.me 2030
http://kesin.hatenablog.com 2011
http://d.hatena.ne.jp 1929
http://amewiki.cadc.cyberagent.local 1019
http://blog.livedoor.jp 364
http://121.83.238.184 302
http://localhost 262
http://pmsserver 247
http://www.advertimes.com 231
http://jabropt.hatenablog.com 227
https://twitter.com 219
http://bao-bao.info 200
http://of.studio23c.com 195
http://feedly.com 177
http://find-job.net 171
http://hajipion.com 134
http://www.studytech.jp 115
http://timeleap.info 94
http://webcache.googleusercontent.com 84
http://cloud.feedly.com 82
http://on-your-mark-i.blogspot.jp 72
http://tc-redmine.tky.nri-net.com 69
http://www.google.co.jp 43
http://likebutton-memo.tumblr.com 43
http://source.hatenadiary.jp 42
http://kesin-test.hatenablog.com 39
http://notes.shuntak.net 36
https://cybozulive.com 35
https://www.google.co.jp 35
http://creive.me 28
http://morizyun.github.io.dev 27
http://ja-ico.com 26
https://wiki.t-ree.com 25
http://s.deeeki.com 22
http://hatebutv.com 16
http://feeds.feedburner.com 14
http://digg.com 12
https://www.chatwork.com 10
http://plus.url.google.com 10
http://halbappie.blogspot.jp 10
http://www.feedspot.com 10
http://e-mon.github.io 8
http://133.50.220.25 7
http://translate.googleusercontent.com 7
http://on-your-mark-i.blogspot.com 6
http://getpocket.com 5
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

19 of 9 Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    いつやるの?Git入門 いつやるの?Git入門 Presentation Transcript

    • file2file1 dir1file3
    • git init
    • file2file1 dir1file3git init
    • git initfile2file1 dir1file3
    • git add <filepattern>...
    • file2file1 dir1file3git add file1 dir1/file2
    • file2file1file2file1 dir1file3git add file1 dir1/file2dir1
    • git commit -m <msg>
    • file2file1file2file1 dir1file3git commit -m ‘コミットするよ。’dir1
    • git commit -m ‘コミットするよ。’file21a401efile1file2file1file2file1 dir1file3dir1 dir1
    • file21a401efile1file2file1file2file1’ dir1file3dir1 dir1
    • file21a401efile1file2file1file2file1’ dir1file3git add .dir1 dir1
    • file21a401efile1file2file1’file2file1’ dir1file3git add .file3dir1 dir1
    • file21a401efile1file2file1’file2file1’ dir1file3 file3git commit -m ‘もっとコミット。’dir1 dir1
    • file21a401efile1510db8file3file1’file2file1’file3file2file1’ dir1file3git commit -m ‘もっとコミット。’dir1 dir1
    • file21a401efile1510db8file3file1’file2file1’file3file2file1’ dir1file3git commit -m ‘もっとコミット。’dir1 dir1
    • git rm <file>...
    • file21a401efile1510db8file3file1’file2file1’file3file2file1’ dir1file3git rm dir1/file2dir1 dir1
    • file21a401efile1510db8file3file1’file1’file3file1’ dir1file3git rm dir1/file2dir1 dir1
    • file21a401efile1510db8file3file1’file1’file3file1’ dir1file3git commit -m ‘削除情報をコミット。’dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3git commit -m ‘削除情報をコミット。’dir1 dir1
    • git reset HEAD <file>
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3’file1’ dir1file3’dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3’file1’ dir1file3’git reset HEAD dir1/file3dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3’git reset HEAD dir1/file3dir1 dir1
    • git checkout -- <file>
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3’dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3’git checkout -- dir1/file3dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3git checkout -- dir1/file3dir1 dir1
    • git mv
    • git reset --<mode> <commit>
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3git reset --hard HEAD^dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3git reset --hard HEAD^file2file2dir1 dir1
    • git status
    • git log
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3dir1 dir1
    • file21a401efile1510db8 6ccfdafile3file1’file1’file3file1’ dir1file3dir1 dir1
    • A B
    • A B
    • A B C
    • A B C
    • A B C D
    • A B C DE
    • A B C DE
    • A B C DE
    • A B C DEF
    • A B C DEF GH
    • A B C DE
    • A B C DE
    • A B C DE’E
    • A B C DE’
    • A B C DE’FG
    • Afile1Bfile1’file1’file1’
    • Afile1Bfile1’file1’file1’
    • git branch [<old>] <new>
    • git branch developAfile1Bfile1’file1’file1’
    • git branch developAfile1Bfile1’file1’file1’
    • git checkout <branch>
    • git checkout developAfile1Bfile2file1’Cfile1’file1’
    • git checkout developAfile1Bfile2file1’Cfile2file2file1 file1
    • git checkout -b <new> <old>
    • git checkout -b <new> <old>git checkout <new>git branch [<old>] <new>
    • git merge <branch>
    • git merge developfile1’file1’Afile1Bfile2file1’C
    • git merge developfile2file1’file2file1’Afile1Bfile2file1’DC
    • git rebase <branch>
    • Agit rebase masterfile1file2file2file1file1BCfile2file1’
    • Agit rebase masterBC’file2file1file1’file2file2file1’file1’
    • A B
    • A BA B
    • A BA B
    • A BA B
    • A B CA B
    • A B CA B C
    • A B CA B C
    • A B CA B
    • A B CA B C
    • A B CA B C D
    • A B C DA B C D
    • A B C D FA B C D E
    • A B C D FA B C D E GF
    • A B C D F GA B C D E GFE
    • A B C D FA B C D E
    • A B C D FA B C D FE E’
    • A B C D F E’A B C D F E’
    • A B C E FD G HA B C E F ID G
    • git clone <url>
    • A Bgit clone git@github.com:a/b.git
    • file1’file1’A Bfile1file1’A Bgit clone git@github.com:a/b.git
    • git push <remote> <refspec>
    • file1’file1’A Bfile1file1’A B
    • file1’file1’A Bfile2file1file1’A B
    • file1’file1’A Bfile2 file2file1file1’A Bgit add file2
    • file1’file1’A Bfile2 file2file1file1’A B Cfile2git commit -m ‘add file2’
    • file1’file1’A B Cfile1file1’A B Cfile2file2 file2git push origin master
    • git fetch <remote> <refspec>
    • file1’file1’A B Cgit fetch origin masterfile1file1’A B
    • file1’file1’A B Cgit fetch origin masterfile1file1’A B Cfile2
    • git pull <remote> <refspec>git merge <branch>git fetch <remote> <refspec>
    • file2file2A B Cgit pull origin masterfile1file1’A BDfile2
    • file1file1’A B CDEA B Cgit pull origin masterfile2file3file3file3file2file2
    • git pull <remote> <refspec> --rebasegit rebase <branch>git fetch <remote> <refspec>
    • file2file2A B Cgit pull origin master --rebasefile1file1’A BDfile2
    • file2file2A B Cgit pull origin master --rebasefile1file1’A BD’file2Cfile3file3file3
    • テキスト