• Like
Introduction to git
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Introduction to git

  • 410 views
Published

 

Published in News & Politics , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
410
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
6
Comments
0
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. Introduction to Git
  • 2. About Git• Version control• Distributed• Fast
  • 3. Starting a repository• init git init• clone git clone <repo>
  • 4. Adding files• add git add -A• commit git commit –am <message>
  • 5. Branching timeA A C D B B
  • 6. Branching• branch git branch <branchname>• checkout git checkout <branchname>• merge git merge <branchname>
  • 7. Remotes remote Repo 1 Repo 2 originYour local copy drupal.org github.com
  • 8. Updating local• fetch git fetch <remote>• merge git merge <remote>/<branch>
  • 9. Updating remote• push git push <remote> <branch>
  • 10. Other features• exporting• tagging• diff• submodules
  • 11. ANY QUESTIONS? @Phill_Brown