simple Git

1,951 views
1,899 views

Published on

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

Published in: Technology, News & Politics
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
1,951
On SlideShare
0
From Embeds
0
Number of Embeds
616
Actions
Shares
0
Downloads
21
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

simple Git

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

×