Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Don't Lose Your Sh*t: Version Control and Backups

1,167 views

Published on

Published in: Technology
  • Be the first to comment

Don't Lose Your Sh*t: Version Control and Backups

  1. 1. Donʼt Lose Your Shit Version Control and Backups
  2. 2. Why control versions?
  3. 3. A IN AG ER EV N
  4. 4. What is this ʻversion controlʼ ?
  5. 5. Track. Collaborate and version.
  6. 6. How does it work ?
  7. 7. 1. Do work 2. Save changes (commit) 3. Share changes (push) 4. Get changes (pull)
  8. 8. 5. Experiment (branch) 6. See changes (diff) 7. Combine changes (merge) 8. Undo changes (revert)
  9. 9. What does using it feel like ?
  10. 10. Demo
  11. 11. Which VCS should I use ?
  12. 12. Centralized
  13. 13. Centralized sh pu pu ll pu ll sh pu
  14. 14. Centralized ( CVS Perforce SourceSafe )
  15. 15. Centralized $ svn checkout svn://myrepo.com/trunk thing [...do stuff...] $ svn add path/to/file/i/added.pde $ svn commit -m “I did stuff” $ svn update
  16. 16. Centralized svnbook.red-bean.com or Google: “svn book”
  17. 17. Centralized code.google.com free subversion hosting for open source projects
  18. 18. Decentralized
  19. 19. Decentralized o rk f sh h pull p u pus h p us pu ll ll e u on p cl
  20. 20. Decentralized ( ) Mercurial Darcs
  21. 21. Decentralized $ git clone http://myrepo.com/trunk [...do stuff...] $ git add . $ git commit -m “I did stuff” $ git push $ git pull
  22. 22. Decentralized github.com social coding and free git repo hosting for open source projects
  23. 23. Demo
  24. 24. Backups: JMFB
  25. 25. Just Make a Fucking Backup
  26. 26. newegg.com > External hard drive > Add to cart
  27. 27. newegg.com > External hard drive > Add to cart 320GB
  28. 28. newegg.com > External hard drive > Add to cart E S U S X C O E 320GB N
  29. 29. System Preferences > Time Machine > Giant Button
  30. 30. On-Site ( Bootable? ) Carbon Copy Cloner Super Duper
  31. 31. Off-Site Backblaze Amazon S3 Dropbox Mail a drive to your parents
  32. 32. Off-Site Backblaze Amazon S3 Dropbox Mail a drive to your parents
  33. 33. Off-Site This is for if your house burns down. It costs money.
  34. 34. In the time Iʼve spent explaining this you could have made a fucking backup.

×