Git - Intro to the Basics of DVCS

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.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + guest70b427 guest70b427 10 months ago
    货架,racking,货架
    博客。博客。博客。
Post a comment
Embed Video
Edit your comment Cancel

5 Favorites & 2 Groups

Git - Intro to the Basics of DVCS - Presentation Transcript

  1. The Git source code control system Dueling Coders by Matthew McCullough & Tim Berglund
  2. SVN Git
  3. Why Another? Not just for versioning source Distributed Version Control Systems (DVCS) Value of centralized + decentralized Easy merging from many branches Doesn’t pollute 100,000 artifacts
  4. Git Going
  5. Getting Git • Cygwin • MacPorts • Distro-specific package manager • Binaries
  6. Username Setup git config --global user.email matthewm@ambientideas.com
  7. URL Styles • Public Clone URL (Git Protocol) git://github.com/matthewmccullough/helloworld.git • Private Clone Path (SSH Protocol) git@github.com:matthewmccullough/helloworld.git • Filesystem Path /users/mccm06/projects/helloworld.git
  8. Cloning Repos • Command to retrieve a remote repo • Works against Git and SVN
  9. IDE Tools • EGit, Eclipse Plugin Update Site http://www.jgit.org/update-site http://github.com/guides/using-the-egit-eclipse-plugin-with-github • Git4Idea Get via plugins menu • Netbeans http://git.or.cz/gitwiki/NetBeansPlugin
  10. Sharing Repos
  11. Serve git help daemon
  12. Serve git daemon --export-all --base-path=.
  13. Free Git Hosting Github http://github.com Gitorious http://gitorious.org
  14. Sharing Demo
  15. Add, Checkin git add *.java git commit -m‘Did some work’
  16. Switch Branch, Checkout git branch ANEWBRANCH git checkout ANEWBRANCH
  17. Push git push origin master
  18. Pull git pull origin master
  19. Branching
  20. Just Branches? Core idea of DVCS Same as always, but less painful Branches are local Branch for every feature Main is for generals
  21. Branching Demo
  22. Merge git merge ANEWBRANCH (destination = current branch)
  23. Conflicts
  24. Squash git merge --squash ANEWBRANCH (destination = current branch)
  25. Tag git tag VERSION1.0
  26. Cherry Pick git cherry-pick -r e8ac5ed693 (destination = current branch)
  27. Resources
  28. Documentation • Wiki has the most up to date info. http://git.or.cz/gitwiki/ InterfacesFrontendsAndTools
  29. How To Guides • http://github.com/guides/home
  30. Quick Reference • http://zrusin.blogspot.com/2007/09/git- cheat-sheet.html
  31. Q&A

+ Matthew McCulloughMatthew McCullough, 11 months ago

custom

2173 views, 5 favs, 1 embeds more stats

A quick intro to the basics of the Git source code more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 2173
    • 2171 on SlideShare
    • 2 from embeds
  • Comments 1
  • Favorites 5
  • Downloads 54
Most viewed embeds
  • 2 views on http://www.slideshare.net

more

All embeds
  • 2 views on http://www.slideshare.net

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories