9. I modified file A and upped to
server, please download
DON’T TOUCH! I am
modifying it
We want to release. Send us the
newest, and stop your service!
This version has problem.
Please undo Mr. A, Ms. B,
Ms. C’s modification ASAP
Where did you change? Please
mark it, or note some where
13. 5W1H info in every version (commit)
Commit #4
(newest)
Commit #1
(oldest) Commit #2 Commit #3
Who created this commit (author)
What was modified (files)
Where was modified (detail)
When was this modification made (time)
Why does this modification need (message)
How is it related to other commits (parents)
14.
15. 1 2 3 4
Get Get Have
Can Revert
to any previous version
26. Tools
Black console
Can do everything
Need to remember commands
I rarely use it.
SourceTree
A GUI client for GIT
Don’t need to remember commands
Easy to use, confirm modifications
42. clone modify
Add to stage
commit
pull
push
pull Get the latest source code
Add modification
Select what to update to server
Decide what to update with some note
Confirm again if there is any change?
Update to server
1 time
start
end
43. Trouble?
clone modify
Add to stage
commit
pull
push
pull
1 time
start
end
Conflict
Other people modified the
same file and push to
server after your last pull