A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?
The correct order of Git commands to add a new configuration file to a Git repository is:
pull to get the latest changes from the remote repository.
add to add the new configuration file to the staging area.
commit to commit the changes to the local repository.
push to push the changes to the remote repository.
Therefore, the correct answer is:
B. pull -> add -> commit -> push
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Alizadeh
8 months, 3 weeks agonixonbii
1 year, 2 months agolinux_admin
1 year, 2 months ago