Your SlideShare is downloading. ×
Git
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Git

3,582
views

Published on

关于Git的培训讲稿

关于Git的培训讲稿

Published in: Technology

1 Comment
12 Likes
Statistics
Notes
  • 双分支代码结构



    代码提交规范

    这两个很在理。
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
3,582
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
128
Comments
1
Likes
12
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. Git VCS
  • 2. Git ...• VCS SCM• VCS -- DVCS••• linux
  • 3. Why Git ?!
  • 4. VSS/CVS/SVN
  • 5. •••
  • 6. • VSS• == == ?• == !
  • 7. • .svn .cvs .vss
  • 8. Git/Hg/....
  • 9. •• 0 .... *n
  • 10. ••
  • 11. VCS
  • 12. Git••
  • 13. •••••
  • 14. • cd /your-working-dir• git init
  • 15. • git add main.java• git add .• git add *.js
  • 16. • git status • • •
  • 17. • git commit main.java• git commit -a• git commit *.js
  • 18. • .gitignore • .DS_Store • *.class • *.jar • build • dist
  • 19. •••
  • 20. • git clone git@host:repot.git• git remote add origin git@host:repot.git • origin -- • git@..... --
  • 21. • git pull origin master • origin -- • master --
  • 22. • git push origin master • origin -- • master --
  • 23. Show Time × 3
  • 24. ••
  • 25. develop• develop: •• develop: • daily build• master
  • 26. master•• tag• Master
  • 27. • • • • git commit -a• --• / /
  • 28. git-flow• git flow • git flow init •
  • 29. git-flow• • git flow feature start login • N • N • git flow feature finish login
  • 30. git-flow• • git flow release start v1.0 • commit N • N Bug • git flow release finish v1.0
  • 31. • http://git-scm.com/• http://code.google.com/p/msysgit/• http://progit.org/book/zh/• https://github.com/nvie/gitflow/• http://www.gitboxapp.com/• http://gitx.frim.nl• http://www.jeffkit.info/2010/12/860/• http://www.juvenxu.com/2010/11/28/a-successful-git-branching-model/