$30 off During Our Annual Pro Sale. View Details »

Be Awesome with Git

Be Awesome with Git

Be Awesome with Git 😎. This was presented during Weekly Meetup – Study Group & Research Group of Database Research Laboratory Telkom University in Bandung, April 2017. Download the interactive slides here.

Afnizar Nur Ghifari

April 11, 2017
Tweet

More Decks by Afnizar Nur Ghifari

Other Decks in Technology

Transcript

  1. BE AWESOME
    WITH GIT

    View Slide

  2. HI, I'M AFNIZAR
    A Designer. Previously, Limakilo, Astronaut and Fikri Studio

    View Slide

  3. What Is Git?

    View Slide

  4. View Slide

  5. History

    View Slide

  6. View Slide

  7. Installation
    Install with git-scm https://git-scm.com/

    View Slide

  8. Type Of Git User

    View Slide

  9. Terminal For The King

    View Slide

  10. GUI For The Weak

    View Slide

  11. Initialize New Repository

    View Slide

  12. 1. Make the folder!

    View Slide

  13. 2. Open up terminal, and CD to the folder

    View Slide

  14. 3. Type git init

    View Slide

  15. 4. Add some files

    View Slide

  16. 5. and so on...

    View Slide

  17. View Slide

  18. Some Term You Should Know

    View Slide

  19. Forking
    Forking is to take the source code and develop an
    entirely new program

    View Slide

  20. View Slide

  21. View Slide

  22. Cloning
    Clone a repository into a new directory

    View Slide

  23. View Slide

  24. Let's Try!

    View Slide

  25. 1. Fork a repository

    View Slide

  26. 2. Clone the repository

    View Slide

  27. View Slide

  28. After that
    Git Workflow

    View Slide

  29. View Slide

  30. Pull Requests
    Pull requests let you tell others about changes
    you've pushed to a repository

    View Slide

  31. Let's Try!

    View Slide

  32. 1. Add a file on repository that we clone

    View Slide

  33. 2. Open up your terminal

    View Slide

  34. 3. Type git add .

    View Slide

  35. 4. Type git commit -m "Add something"

    View Slide

  36. 5. Type git push origin master

    View Slide

  37. 6. Do the pull request via Github

    View Slide

  38. Commit Etiquette

    View Slide

  39. View Slide

  40. View Slide

  41. View Slide

  42. GOOD COMMIT WILL
    Speed up the reviewing process.
    Help write a good release note.
    Avoid confusion.
    Quality repository.

    View Slide

  43. Branch
    Branch is essentially an independent line of
    development.

    View Slide

  44. View Slide

  45. THANK YOU

    View Slide