Which command is used to stage changes in Git before committing?
- git add
- git commit
- git push
- git pull
Option 1: The 'git add' command is used to stage changes in Git before committing. Staging changes means preparing them to be included in the next commit, allowing for selective commits and better organization of changes.
Loading...
Related Quiz
- The ___________ time is the maximum amount of time a process can execute before being interrupted in preemptive scheduling.
- Explain the role of input validation in web application security and provide examples of common vulnerabilities it helps mitigate.
- Describe the differences between the OSI Model and the TCP/IP Protocol Suite.
- A ___________ is a network device that forwards data packets between computer networks.
- When would you choose the Strategy design pattern over the State design pattern?