Upgrade to Pro — share decks privately, control downloads, hide ads and more …

HOGC Git & GitHub Training

Ca0dd5feb6188d25bc685a2b28ffd13f?s=47 Team HOGC
December 23, 2020

HOGC Git & GitHub Training

Ca0dd5feb6188d25bc685a2b28ffd13f?s=128

Team HOGC

December 23, 2020
Tweet

Transcript

  1. Git & GitHub Training

  2. Central Repository Owned by Organization Forked Repository Owned by you

    (temporary) Fork
  3. Press the fork button at the to right

  4. Central Repository Owned by Organization Forked Repository Owned by you

    (temporary) Fork Clone Your Laptop
  5. Make sure you choose the one that is owned by

    your account (the forked repo)
  6. None
  7. None
  8. Branch Git & GitHub Training

  9. None
  10. Press the new branch button to create your own branch

  11. Git & GitHub Training Make changes to your local repository

  12. Git & GitHub Training Commit

  13. Central Repository Owned by Organization Forked Repository Owned by you

    (temporary) Fork Commit Your Laptop
  14. Remember to have a meaningful & insightful commit message! You

    can choose of what to commit & exclude over here by ticking the files
  15. Git & GitHub Training Push

  16. Central Repository Owned by Organization Forked Repository Owned by you

    (temporary) Fork Push Your Laptop
  17. Press Publish branch button to push

  18. Git & GitHub Training Create Pull Request for Code Review

  19. Central Repository Owned by Organization Forked Repository Owned by you

    (temporary) Pull Request Push Your Laptop
  20. Press the Create Pull Request button to start a Pull

    Request
  21. Remember to have a meaningful & insightful title! Assign the

    technical lead of the project (e.g. Hendro)
  22. Git & GitHub Training Congrats! Your code is ready for

    review
  23. Git & GitHub Training Pulling the latest changes

  24. Central Repository Owned by Organization Forked Repository Owned by you

    (temporary) Pull Pull Your Laptop
  25. 1. Press Fetch origin 2. Press current Branch

  26. 3. Press choose a branch to merge into main 4.

    Choose upstream/main or whichever branch you want to pull changes from
  27. 5. Press push origin

  28. Git & GitHub Training Remember to always pull before you

    start