Cohort 03 Git Exercise
- Git clone to your computer
- cd into the newly created directory
- Create file yourname.txt
touch rafizan.baharum.txt
type nul > rafizan.baharum.txt
- add the file
git add rafizan.baharum.txt
- check status with git status
git status rafizan.baharum.txt
git status
- commit file
git commit -m 'Adding new file'
- push file
git push
-
Update the content of your file
-
stage changes
git add rafizan.baharum.txt
- commit the file
git commit -m 'Update file content'
- push changes