Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

Milad Abolhassani
milad@tuxgeek.ir
miladas.github.io/slides
tuxgeek.ir
What is a version control?
Why Use a Version Control System?
  • Collaboration
  • Storing Versions (Properly)
  • Restoring Previous Versions
  • Understanding What Happened
  • Backup
Who? Why? When? Which?
12-4-15
new
new-2
final
copy of final
final2

last change
final of finals
Why Git?
Fast
Clean
Smart
Content base
Archived
Everything is local
Features
Free Software

Goals...
Lot of free servers
Collaborate in free projects
Contribute & Share
Control
Future code!?
It's a file system
Time machine
Fork & Pull
Control Access
Secure Access
  • Fast
  • Safe
  • Distributed
  • Against CVS Project
Linux developments
No central server required
Each user has an independent copy
Do whatever whenever you want
Internet?
get, revert, history, etc. you have to be online
git-scm.com
pacman -S git
apt-get
yum

Working on different things...
Commit
Hint: One thing  Per Commit
Fix Bug#12 - Core Template Engine
Branch
  • Hot fix
  • Bug fix (lot of commit)
  • Crazy things (Test)
  • Features
  • Easy Drop, Undo
  • Keep stable code separate
  • etc
Merge
Revert & Reset
Rebase
# hash-object
# cat-file
# count-objects
Head And References
c8a1ea343ef0d1706f14ccdaa17f9e1e87737968
Clean - Smart - Content base - Archived
Fast Forward
There is nothing to integrate, It's just shift the head
.gitignore
https://github.com/github/gitignore
Pattern
Lets Start...
Github
  • Pages
  • Clone
  • Repositories
  • Fork
  • Pull Request
  • SSH
  • Wiki
  • Bug Tracker
try git
https://try.github.io/
https://git-scm.com/book
https://atlassian.com/git
Thank You
Milad Abolhassani
Milad Abolhassani
Milad Abolhassani
milad@tuxgeek.ir
miladas.github.io/slides
tuxgeek.ir

Use a spacebar or arrow keys to navigate