CS FundamentalsModerateService-company placement · Git
Which statement correctly contrasts a centralised VCS such as Subversion with Git?
- A. Subversion lets developers commit offline; Git needs its server for every commit
- B. Git commits are local and each clone has full history; SVN commits go to the server
- C. Both systems give every commit a global, sequential revision number
- D. Git cannot be used with a central shared repository in any workflow
Correct answer: B. Git commits are local and each clone has full history; SVN commits go to the server
In Git, commit, log, diff and branch work offline against the local repository, and sharing is a separate push. Subversion's commits and history live on the server, with repository-wide revision numbers; Git identifies commits by hash.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Two artists keep overwriting each other's edits to the same layered .psd file in Git. Why does the usual merge workflow fail, and what…
- Priya rebases Rahul's three commits onto the latest main. What happens to the author and committer fields of the rewritten commits?
- Business rules like 'premium customer AND (order > ₹10,000 OR festive season)' are built as small objects with isSatisfiedBy(candidate)…
- A service reuses expensive database connections from a pool instead of opening one per request. One request leaves a connection inside an…
- Following Beizer's guidance for testing two nested loops, how should you start?
- A team builds a thin, working path through every layer of a new system (UI, API, queue, database) with minimal features, and keeps that…