Git for Humans

Speaker Deck

2 min read Original article ↗
  1. Alice Bartlett Senior Developer, Financial Times @alicebartlett Git for humans

  2. HELLO @alicebartlett

  3. @alicebartlett GDS

  4. Things are just better when designers are involved @alicebartlett

  5. Git @alicebartlett

  6. WHAT IS GIT

  7. WHAT DOES IT DO?

  8. @alicebartlett Git helps you manage work done on projects.

  9. @alicebartlett GIT IS UNFRIENDLY

  10. @alicebartlett

  11. @alicebartlett JARGON

  12. @alicebartlett GIT

  13. @alicebartlett UNDERNEATH ALL THIS, GIT IS QUITE SIMPLE

  14. WHY ARE YOU HERE

  15. @alicebartlett logo.svg logo-2.svg logo-3-monica-feedback.svg logo-3-FINAL.svg logo-3-FINAL-1.svg

  16. @alicebartlett By saving copies By making commits

  17. @alicebartlett By saving copies By making commits logo.svg logo.svg

  18. 1. Who 2. When @alicebartlett

  19. @alicebartlett logo-3-FINAL-1.svg

  20. GIT LETS YOU TIME TRAVEL THING 2:

  21. GIT HELPS YOU EXPERIMENT THING 3:

  22. So far, everything has been very linear and ordered. @alicebartlett

  23. @alicebartlett master The default branch name in Git is master

  24. @alicebartlett add-new-styles You can add your own branches too master

  25. @alicebartlett add-new-styles wild-experiment master

  26. Whereas other branches can contain work in progress @alicebartlett

  27. GIT HELPS YOU BACK UP YOUR WORK THING 4:

  28. @alicebartlett logo.svg logo-2.svg logo-3-monica-feedback.svg logo-3-FINAL.svg logo-3-FINAL-1.svg

  29. In Git this place is called a remote @alicebartlett

  30. A very popular remote is Github @alicebartlett

  31. @alicebartlett Remote

  32. @alicebartlett Remote clone

  33. Remote @alicebartlett clone

  34. Remote @alicebartlett Now everyone has the repo on their computer

  35. Remote @alicebartlett

  36. @alicebartlett Remote Lucy can send her changes to remote

  37. @alicebartlett push! Remote

  38. Remote @alicebartlett This is known as a push

  39. @alicebartlett Now Martin is behind Remote

  40. @alicebartlett pull! Remote

  41. GIT HELPS YOU COLLABORATE THING 5:

  42. @alicebartlett Remotes mean other people can access your project

  43. @alicebartlett Merges help manage combining your work with someone else’s

  44. @alicebartlett repository commit hash checkout branch merge remote clone push

    pull Git terms we’ve covered your project folder a snapshot of your repo an id for a commit time travel to a specific commit a movable label that points to a commit combining two branches a computer with the repository on it get the repository from the remote for the first time send commits to a remote get commits from a remote

  45. Alice Bartlett Senior Developer, Financial Times @alicebartlett Thank you