Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

VCS. Three letters that can change your life

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio

Eche un vistazo a continuación

1 de 47 Anuncio

VCS. Three letters that can change your life

Descargar para leer sin conexión

Slides about the importance of using Version Control Systems I prepared for my "Databases" course at National Technical University Of Ukraine "Kyiv Polytechnic Institute"

Slides about the importance of using Version Control Systems I prepared for my "Databases" course at National Technical University Of Ukraine "Kyiv Polytechnic Institute"

Anuncio
Anuncio

Más Contenido Relacionado

Similares a VCS. Three letters that can change your life (20)

Más reciente (20)

Anuncio

VCS. Three letters that can change your life

  1. 1. VCS Three letters that can change your life
  2. 2. WHY DO I TALK ABOUT THIS?
  3. 3. MEET MAIN CHARACTERS This is a story with a few characters. Let meet them!
  4. 4. Cthulhu The Cute
  5. 5. Twilight The Gentoo Pony
  6. 6. Shadow The Gamer
  7. 7. ONCE UPON A TIME IN R'LYEH PROGRAMMING UNIVERSITY...
  8. 8. Shadow played games the whole semester. At the end of the semester he had to do a lot of tasks but he did not know how.
  9. 9. So he asked Twilight for help
  10. 10. And then the terrible thing happened
  11. 11. CUTE CTHULHU'S WISE WORDS:
  12. 12. SO WHY DO I TALK ABOUT THIS?
  13. 13. BECAUSE... Sharing source code as attachments in social networks is like using stone instruments nowadays
  14. 14. BECAUSE... Version control systems simplify software development Especially when several people work on the same code together
  15. 15. BECAUSE... It is vital to programmer to know how to use version control systems
  16. 16. BORING PART
  17. 17. WHAT IS VERSION CONTROL SYSTEM? “ Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.”
  18. 18. GOALS OF VCS Allow developers to work simultaneously. Do not overwrite each other’s changes. Maintain history of every version of everything.
  19. 19. VCS CLASSIFICATION Centralized version control systems (CVCS) Distributed version control systems (DVCS)
  20. 20. CENTRALIZED VCS There is a single “central” copy of your project somewhere, and programmers commit their changes to this central copy.
  21. 21. CVCS WORKFLOW 1. Pull down any changes other people have made from the central server. 2. Make your changes, and make sure they work properly. 3. Commit your changes to the central server, so other programmers can see them.
  22. 22. DISTRIBUTED VCS Do not necessarily rely on a central server to store all the versions of a project’s files. Every developer clones a copy of a repository and has the full history of the project on their own hard drive
  23. 23. ADVANTAGES OVER CVCS Faster Nobody sees unfinished work Less dependent on Internet
  24. 24. VERSION CONTROL SYSTEMS About 46 VCS exist now ( )https://goo.gl/imTGhs
  25. 25. THE MOST POPULAR VCS Subversion Git Mercurial
  26. 26. INTERESTING PART
  27. 27. HELLO, GIT!
  28. 28. INITIALIZE AN EMPTY REPOSITORY git init
  29. 29. ADD FILES git add
  30. 30. COMMIT CHANGES git commit
  31. 31. WHAT IS YOUR STATUS? git status
  32. 32. LOCAL HISTORY git log
  33. 33.  
  34. 34. BRANCHES git branch
  35. 35. SWITCH WORKING TREE git checkout
  36. 36. GET IT TOGETHER git merge
  37. 37. PUT ONE ONTO ANOTHER git rebase
  38. 38. WORKING IN TEAM
  39. 39. REMOTES git remote add <name> <address>
  40. 40. SEND COMMITS TO REMOTE git push <remote> <branch>
  41. 41. UPDATE FROM REMOTE git fetch <remote> git pull <remote>
  42. 42. WHAT TO READ NEXT?
  43. 43. GIT Git documentation Atlassian tutorials about git Git in 15 minutes Git tree planting What to do if you messed your Git repository
  44. 44. MERCURIAL Mercurial official website Great Mercurial tutorial Comparison of Git and Mercurial Working qwith bookmarks
  45. 45. Presentation by Oleksandr Kovalchuk
  46. 46. THE END ANY QUESTIONS?

×