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

Like this? Share it with your network

Share
  • 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
585
On Slideshare
524
From Embeds
61
Number of Embeds
2

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 61

http://pbweb.co.uk 43
http://dex.io 18

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