Cisco
300-535 · Question #12
Which Git command is needed to stage the file network-deploy.py to then commit the changes to the revision history?
The correct answer is B. git add network-deploy.py. See the full explanation below for the reasoning.
Question
Which Git command is needed to stage the file network-deploy.py to then commit the changes to the revision history?
Options
- Agit init network-deploy.py
- Bgit add network-deploy.py
- Cgit merge network-deploy.py
- Dgit commit network-deploy.py
How the community answered
(46 responses)- A7% (3)
- B78% (36)
- C13% (6)
- D2% (1)
Community Discussion
No community discussion yet for this question.