Question 1
Typical daily Git workflow
git status
git pull
# make changes
git add .
git commit -m "message"
git push
5 questions. Use Show Answer, then slide right (or use Next) to continue.
git status
git pull
# make changes
git add .
git commit -m "message"
git push
git fetch origin downloads remote changes but does not merge.git pull performs fetch + merge into the current branch.git stash
git pull
git stash pop
git remote -v
git remote set-url origin <new_url>
Safe (keeps history):
git revert <commit_sha>Destructive (local rewrite):
git reset --hard <commit_sha>