Git How Does That Work Then

download Git How Does That Work Then

If you can't read please download the document

description

Explain a little about git and how we use it in Mer and Maemo. Please note that there are notes for these slides (click the 'Notes' link/tab by the 'Comments' tab below)

Transcript of Git How Does That Work Then

  • 1. VCS Initial commit David Greaves / lbt

2. DVCS git 3. complex apply archive bisect blame branch bundle checkout cherry-pick commit config dch describe diff difftool fetch filter-branch format-patch fsck gui help imap-send init log merge pull push rebase relink remote repack request-pull reset revert rm show-branch stage stash status svn submodule tag whatchanged add add am annotate apply archive bisect blame branch buildpackage bundle checkout cherry cherry-pick citool clean clone commit config dch describe diff difftool fetch filter-branch format-patch fsck gc get-tar-commit-id grep gui help imap-send import-dsc import-dscs import-orig init instaweb log merge mergetool mv name-rev pull push rebase relink remote repack request-pull reset revert rm send-email shortlog show show-branch stage stash status submodule svn tag whatchanged 4. simple checkout commit diff fetch init log merge status tag add 5. What's a DVCS?

  • VCS Version Control System - Tracks work Branches flit about; fix a bug; add a feature Central VCS share with a team Mature want to go back to a 'stable' version to fix bugs? Easy. DistributedVCS? What does that bring?

6. VCS for Communities

  • Everyone has their own VCS 'server' repository You can work totally offline Capable of fetching changes from other people's repos Usually one person has the master repo for a project and they pull changes Any group of people can exchange code-changes between themselves

7. But I'm all on my own...

  • That's fine... git is a great VCS for single users
    • Rapid branching allows you to context switch Useful gui for seeing the history
    You never know when you'll find a friend or several

8. But we all work together That's good if you want to support different workflows you can do that.

    • Shared central repository
  • Integration managed
  • Hierarchical integration

9. Gitorious and Branches 10. Gitorious and Branches 11. Gitorious and Branches 12. Key Benefits Super easy branches Fast Always available Very compact Team player Flexible usage Easy to use gitk Gitorious 13. Hope that's whetted your interest...

  • Listen to Johan's talk about Gitorious Come to the workshop and talk about how you use git Thanks David Greaves / lbt