web app development a version control system image source
play

Web App Development A version control system Image source: - PowerPoint PPT Presentation

Web App Development A version control system Image source: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F Image source: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F GitHub is an American company that


  1. Web App Development

  2. ▪ A version control system

  3. Image source: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F

  4. Image source: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F

  5. ▪ “ GitHub is an American company that provides hosting for software development version control using Git. It is a subsidiary of Microsoft, which acquired the company in 2018 for $7.5 billion .” ▪ Source: Wikipedia

  6. Create account 11. Edit files 1. Sign in 12. Check Git status 2. Create repo 13. Recall staging area 3. Create new file 14. Add files to staging area 4. Add file name 15. Commit 5. Commit contents 16. Push 6. Get clone URL 17. View website 7. Open Putty 18. View files on GitHub 8. Login to Linux 19. View history 9. 10. Clone the repo 20. View detailed changes

  7. 1. Create account

  8. 2. Sign In

  9. 3. Create repo

  10. 4. Create new file

  11. 5. Add file name and file contents

  12. 6. “Commit” the file

  13. Now there are 2 files.

  14. 7. Get the clone URL

  15. 8. Open Putty (Linux terminal, SSH)

  16. 9. Login to Linux

  17. Right-click to insert Clone URL 10. Clone the repo

  18. Do not create the subdirectory for the repo. Cloning the URL will create the subdirectory. 11. Edit files

  19. Red color means “File modified, but not 12. Check git status added”

  20. 13. Recall Staging area

  21. Green color means “File modified and 14. Add files added, but not to staging area committed”

  22. 15. Commit files to staging area

  23. 16. Push files to repo

  24. Done means done.

  25. 17. View website

  26. 18. View file on GitHub repo and click “History”

  27. 19. View history, and click instance

  28. 20. View detailed changes

  29. Web App Development

Recommend


More recommend