in Education by
Which of the following command updates tracking for files that are modified? (a) git add . (b) git add -u (c) git add -A (d) none of the mentioned This question was addressed to me in a job interview. This intriguing question comes from CLI and Git Workflow topic in division Data Science Basics and Data Scientist Toolbox of Data Science Select the correct answer from above options Data Science questions and answers, Data Science questions pdf, Data Science question bank, Data Science questions and answers pdf, mcq on Data Science pdf, Data Science questions and solutions, Java mcq Test , Interview Data Science questions, Data Science Questions for Interview, Data Science MCQ (Multiple Choice Questions),Core Data Science Questions, Core Data Science MCQ,core Data Science interview questions for experiencedcore Data Science interview questions for 3 years experience,Data Science programming questions,core Data Science interview questions for freshers,Data Science interview questions and answers for freshers, Data Science programming questions and answers pdf, Data Science interview questions for beginners

1 Answer

0 votes
by
 
Best answer
The correct option is (b) git add -u The explanation is: The git add command adds a change in the working directory to the staging area.

Related questions

0 votes
    Which of the following CLI command can also be used to rename files? (a) rm (b) mv (c) rm ... programming questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array ... answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function is used for loading flat files? (a) read.data (b) read.sheet (c) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following command line environment is used for interacting with Git? (a) GitHub (b) Git ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 31, 2021 in Education by JackTerrance
0 votes
    Which of the following adds all new files to local repository? (a) git add . (b) git add -u ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following command allows you to update the repository? (a) push (b) pop (c) update (d ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 31, 2021 in Education by JackTerrance
0 votes
    Which of the following command allows you to change directory to one level above your parent directory? (a) ... and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following command is used to squash the commits? (a) rebase (b) squash (c) boot (d ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following is not a CLI command? (a) delete (b) rm (c) clear (d) none of the ... programming questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following command is used to give a message description? (a) git command -m (b) git ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following command help us to give message description? (a) git command -m (b) git command ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following can also be used to find new variables that are linear combinations of the original set ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following global options are available for figures in knitr? (a) fig.height (b) fig.size ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 31, 2021 in Education by JackTerrance
0 votes
    Which of the following plots are often used for checking randomness in time series? (a) Autocausation (b) ... and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following random variables are the default model for random samples? (a) iid (b) id (c) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
...