• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

寫給大家的 Git 教學

on

  • 173,952 views

覺得這種東西是需要的,但總是沒有人作得好懂一點 qq

覺得這種東西是需要的,但總是沒有人作得好懂一點 qq

Statistics

Views

Total Views
173,952
Views on SlideShare
147,514
Embed Views
26,438

Actions

Likes
463
Downloads
6,155
Comments
38

145 Embeds 26,438

http://desizen.com 6861
http://tech.marsw.tw 6848
http://blog.haohtml.com 1787
http://note.jhpeng.com 1580
http://blog.littleb.tc 1523
http://cloudtu.blogspot.tw 1310
http://www.jankerli.com 597
http://www.0x001.com 548
http://superlevin.ifengyuan.tw 387
http://blog.vnnii.com 385
http://mouseface99.blogspot.tw 382
http://zeroplex.blogspot.tw 364
http://littlebtc.blogspot.com 321
http://mouseface99.blogspot.com 316
http://shyuanliang.blogspot.tw 276
http://shyuanliang.blogspot.com 275
http://littlebtc.blogspot.tw 269
http://dylandy.github.io 248
http://nckusuit.tumblr.com 173
http://eugg.blogspot.tw 172
http://endroid.blogspot.com 153
http://flashercolor.blogspot.com 112
http://flashercolor.blogspot.tw 99
http://geekilosophy.wikidot.com 83
http://www.tedz.me 83
http://www.plurk.com 79
http://www.techgig.com 79
http://kakuworkdiary.blogspot.com 70
http://10.242.112.2:61004 67
http://feeds.feedburner.com 64
http://cloudtu.blogspot.com 64
http://cloudtu.blogspot.hk 54
http://www.box-color.com.tw 51
http://easy-intro-world1.blogspot.tw 43
http://techchilijung.wordpress.com 39
http://aais15.nkfust.edu.tw 38
http://logdown.com 37
http://cityray.blogspot.tw 36
http://www.cnblogs.com 35
http://jaseywang.blogspot.com 31
http://webcache.googleusercontent.com 30
http://qic-web:61004 24
http://cache.baidu.com 23
http://puu-qsan.blogspot.com 23
https://twitter.com 23
http://easy-intro-world1.blogspot.com 18
http://static.slidesharecdn.com 18
http://blog.hanbud.org 16
http://zeroplex.blogspot.hk 15
http://littlebtc.blogspot.hk 13
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

110 of 38 previous next Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • 謝謝,初學,感覺相當受用!
    Are you sure you want to
    Your message goes here
    Processing…
  • 看完之後觀念更清楚了,感謝分享!
    Are you sure you want to
    Your message goes here
    Processing…
  • 好生動清楚的教學!謝謝您製作這份投影片。
    Are you sure you want to
    Your message goes here
    Processing…
  • 請問第 33 頁上的圖示是否有錯誤? 'Testing' branch 所指向的綠色方塊(commit?)是否應該寫著 c2b9e ? (不然就是我到目前的理解錯誤了)
    Are you sure you want to
    Your message goes here
    Processing…
  • 很適合初學者的入門教學。
    Are you sure you want to
    Your message goes here
    Processing…

110 of 38 previous next

Post Comment
Edit your comment

    寫給大家的 Git 教學 寫給大家的 Git 教學 Presentation Transcript

    • Git Littlebtc (Hsiao-Ting Yu) Scott Chacon Pro Git CC-BY-NC-SA-3.0
    • What is Version Control? What is Git?
    • Local rcs
    • Server Checkout Commit Subversion SVN Server
    • Server git, Mecurial (hg), bazaar (bzr) Branch
    • Git Linux Kernel (http://en.wikipedia.org/wiki/Linux_kernel,Wikipedia contributors, CC-BY-SA)
    • From: Linux Kernel Development: How Fast it is Going,Who is Doing It,What They are Doing, and Who is Sponsoring It, Fair use(?)
    • BitKeeper Linus Torvalds Linux Kernel Patch + 2002 Linus BitKeeper BitKeeper Git (pic: http://commons.wikimedia.org/wiki/File:Linus_Torvalds.jpeg CC-BY- SA-3.0 & GFDL)
    • Git Linux Kernel And then realize that nothing is perfect. Git is just *closer* to perfect than any other SCM out there. -- Linus on Git mailing list
    • Git Basics
    • Git
    • Git ......
    • Git Checksum Staging
    • Using Git
    • Git Repository Repository git init .git
    • Initial Commit README touch README git add . git commit -m 'Initial commit'
    • Repository Clone $ git clone clone http://github.com/jquery/jquery.git Initialized empty Git repository in /Users/littlebtc/work/jquery/.git/ remote: Counting objects: 14043, done.remote: Compressing objects: 100% (4070/4070), done. remote: Total 14043 (delta 9717), reused 13753 (delta 9452) Receiving objects: 100% (14043/14043), 12.45 MiB | 288 KiB/s, done. Resolving deltas: 100% (9717/9717), done.
    • File Status git checkout -- git reset HEAD git add git add git rm git commit • .gitignore .gitignore commit! • git status
    • git status
    • Commit log •git log (console) •GitX (Mac) •giggle (Linux) ( )
    • ...!? Commit git commit --amend Stage Unstage git reset HEAD file git checkout -- file
    • Remote Server!! Branch Remote Branch master Remote origin git pull origin = git fetch origin + git merge origin/master Merge git push origin master Master Push Origin
    • "Remote" Protocol file:// ssh:// git:// http:// or https://
    • Branches
    • Commit git Commit
    • commit Commit Commit Snapshot Tree
    • branch commit
    • git branch testing "testing" branch git HEAD Branch
    • git checkout testing HEAD Testing Branch or git checkout -b testing Branch
    • Commit ... testing master
    • git checkout master Master What's next?
    • git commit -m 'Change the master!'
    • rebase merge Merge
    • Remote Branches
    • Merge
    • Branch Bug hotfix branch master
    • git checkout master git merge hotfix master master hotfix Commit fast-foward
    • Branch Issue 53 branch Merge
    • git merge $ git checkout master $ git merge iss53 Merge made by recursive. README | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
    • CONFLICT git status git status git commit Merge Merge Commit Message
    • Distributed Workflows
    • ... Still a lot to learn!
    • github ... Open Source
    • Pro Git http://progit.org/ Git  ihower Git http://ihower.tw/blog/ archives/category/git