TEACHERS
GALLERY
PRICING
SIGN IN
TRY ZURU
GET STARTED
Loop
Audio
Interval:
5s
10s
15s
20s
60s
Play
1 of 13
Slide Notes
Download
Go Live
New! Free Haiku Deck for PowerPoint Add-In
Git
Share
Copy
Download
0
282
Published on Nov 18, 2015
Intro to Git
View Outline
MORE DECKS TO EXPLORE
PRESENTATION OUTLINE
1.
Git
Photo by
Junior Henry.
2.
Distributed.
Everything is local.
Photo by
sickmouthy
3.
Getting started . . .
git init
OR
git clone
Photo by
kjetikor
4.
git status
untracked (git add)
unmodified
modified (git add)
staged (git commit) careful!
unmodified
Photo by
tanakawho
5.
git diff
working:staged
git diff --staged
staged:last commit
Photo by
btting
6.
Branching. Git's killer feature.
Photo by
Dreemreeper
7.
"Git encourages a workflow that branches and merges often, even multiple times in a day."
Photo by
orangejack
8.
A branch is a pointer to one commit
git branch branchname
Photo by
Leo Reynolds
9.
HEAD points to your current branch
git checkout branchname
Photo by
Werner Kunz
10.
Git identifies the common ancestor for merging
git merge branchname
"fast-forward"
Photo by
orangejack
11.
Remotes.
git remote add shortname url
git remote -v
git remote show shortname
Photo by
redjar
12.
git fetch
:gets but does not merge
git pull
:gets and attempts to merge
Photo by
young_einstein
13.
Remote Branches
Local pointer for remote commits
(remote)/(branch)
git fetch updates pointers
git fetch brings down new branches
checkout new branches for working copy
Photo by
Derek K. Miller
Friend of Haiku Deck
×
Error!