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 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
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
1. Create account
2. Sign In
3. Create repo
4. Create new file
5. Add file name and file contents
6. “Commit” the file
Now there are 2 files.
7. Get the clone URL
8. Open Putty (Linux terminal, SSH)
9. Login to Linux
Right-click to insert Clone URL 10. Clone the repo
Do not create the subdirectory for the repo. Cloning the URL will create the subdirectory. 11. Edit files
Red color means “File modified, but not 12. Check git status added”
13. Recall Staging area
Green color means “File modified and 14. Add files added, but not to staging area committed”
15. Commit files to staging area
16. Push files to repo
Done means done.
17. View website
18. View file on GitHub repo and click “History”
19. View history, and click instance
20. View detailed changes
Web App Development
Recommend
More recommend