git clone URL
git status
git add README.md
git status
git commit -m "Initial commit"
git push origin master
git add index.html (adding to git after creating index.html)
git diff README.md (what lines have changed)
git commit -m "Second commit" (m stands for message here)
git log
git checkout README.md (undo if you mess up your code)
No comments:
Post a Comment