1.

Which of the following adds all new files to local repository?(a) git add .(b) git add -u(c) git add -A(d) none of the mentionedI got this question at a job interview.Asked question is from CLI and Git Workflow in portion Data Science Basics and Data Scientist Toolbox of Data Science

Answer» CORRECT CHOICE is (a) GIT add .

Easy explanation - You should do this before COMMITTING.


Discussion

No Comment Found

Related InterviewSolutions