SLIDE 1
Web App Development A version control system Image source: - - PowerPoint PPT Presentation
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
SLIDE 2
SLIDE 3
Image source: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F
SLIDE 4
Image source: https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F
SLIDE 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
SLIDE 6
1.
Create account
2.
Sign in
3.
Create repo
4.
Create new file
5.
Add file name
6.
Commit contents
7.
Get clone URL
8.
Open Putty
9.
Login to Linux
- 10. Clone the repo
- 11. Edit files
- 12. Check Git status
- 13. Recall staging area
- 14. Add files to staging area
- 15. Commit
- 16. Push
- 17. View website
- 18. View files on GitHub
- 19. View history
- 20. View detailed changes
SLIDE 7
- 1. Create account
SLIDE 8
- 2. Sign In
SLIDE 9
- 3. Create repo
SLIDE 10
- 4. Create new file
SLIDE 11
- 5. Add file name and
file contents
SLIDE 12
- 6. “Commit” the file
SLIDE 13
Now there are 2 files.
SLIDE 14
- 7. Get the clone URL
SLIDE 15
- 8. Open Putty
(Linux terminal, SSH)
SLIDE 16
- 9. Login to Linux
SLIDE 17
- 10. Clone the repo
Right-click to insert Clone URL
SLIDE 18
Do not create the subdirectory for the repo. Cloning the URL will create the subdirectory.
- 11. Edit files
SLIDE 19
SLIDE 20
SLIDE 21
- 12. Check git status
Red color means “File modified, but not added”
SLIDE 22
- 13. Recall Staging area
SLIDE 23
Green color means “File modified and added, but not committed”
- 14. Add files
to staging area
SLIDE 24
- 15. Commit files
to staging area
SLIDE 25
- 16. Push files
to repo
SLIDE 26
Done means done.
SLIDE 27
- 17. View website
SLIDE 28
SLIDE 29
SLIDE 30
SLIDE 31
- 18. View file on GitHub
repo and click “History”
SLIDE 32
- 19. View history, and
click instance
SLIDE 33
- 20. View detailed
changes
SLIDE 34