Slide 1

Slide 1 text

Introduction to Git

Slide 2

Slide 2 text

• Version control • Distributed • Fast About Git

Slide 3

Slide 3 text

Starting a repository • init git init • clone git clone

Slide 4

Slide 4 text

Adding files • add git add -A • commit git commit –am

Slide 5

Slide 5 text

Branching A time B C D B A

Slide 6

Slide 6 text

Branching • branch git branch • checkout git checkout • merge git merge

Slide 7

Slide 7 text

Remotes Repo 1 Repo 2 remote Your local copy drupal.org github.com origin

Slide 8

Slide 8 text

Updating local • fetch git fetch • merge git merge /

Slide 9

Slide 9 text

Updating remote • push git push

Slide 10

Slide 10 text

Other features • exporting • tagging • diff • submodules

Slide 11

Slide 11 text

ANY QUESTIONS? @Phill_Brown