Linux CLI - Package Management
You cloned a repository and want to update your local copy with the latest changes from the remote. Which sequence of commands correctly achieves this?
git fetch origin downloads changes from remote without merging, then git merge origin/main applies those changes to your current branch.git pull origin main combines fetch and merge but git add . after pull is unnecessary; git push uploads changes, not updates; git clone is for initial copy, not update.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions