simple Git

  • 1,698 views
Uploaded on

simple git command introduce, and let people know about git command purpose.

simple git command introduce, and let people know about git command purpose.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to like this
No Downloads

Views

Total Views
1,698
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
16
Comments
1
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. GitCaesar Chi-clonn@plurkCaesar Chi@facebookClonn.blogspot.com
  • 2. Git簡介
  • 3. Team work you needversion control
  • 4. Git分散式架構
  • 5. Git,linux同一個工廠誕生
  • 6. 初學?
  • 7. Github.com Social coding
  • 8. 從做中學開啟自己的github 專案開始
  • 9. Git基本指令
  • 10. Git log凡走過必留下痕跡
  • 11. Git merge -branch 將其他branch 整進來
  • 12. Git pull= git fetch + git merge
  • 13. Git commitCommit 下的好,維護沒煩惱
  • 14. Git push 推,就對了
  • 15. Git diff 檢視code 差異
  • 16. Git reset 還原自上次的push
  • 17. Git checkout -filepath 放棄檔案更新
  • 18. Git checkout –branch 放棄檔案更新
  • 19. Git branch本地branch操作
  • 20. Git rm刪除git 的記憶
  • 21. Git其他指令
  • 22. Git rebase –commitid 重新調整基底 a-b-c-d master e-f-g-h feature_branch
  • 23. Git rebase –commitid 重新調整基底 a-b-c-d-i-j-k-l master e-f-g-h feature_branch
  • 24. Git cherry-picker 撿取自己要得 a-b-c-d-i-j-k-l master e-f-g-h feature_branch
  • 25. Git cherry-picker 撿取自己要得a-b-c-d-i-j-k-l master e-f-g-h feature_branch
  • 26. Git cherry-picker 撿取自己要得a-b-c-d-f-h-i-j-k-l master e-f-g-h feature_branch
  • 27. Git stash將部份的code 藏起來可參考git stash --help
  • 28. Git stashGit add –fileGit stashGit stash listGit stash pop
  • 29. Git config ~/.gitconfig
  • 30. alias[alias] st = status br = branch rb = svn rebase ci = commit co = checkout sub = submodule
  • 31. 遠端branchgit push originfeature_20111216_caesar_cmstool:refs/heads/feature_testgit fetch origingit branch --track feature_test origin/feature_testgit checkout feature_test
  • 32. GRBhttps://github.com/webmat/git_remote_branchhttp://thinkvitamin.com/code/git-pro-tip-let-grb-handle-remote-branches-for-you/
  • 33. Git never end