in Technology by

Developer A has done some changes in the subproject and pushed it. Developer B can pull those changes using __________.

       A. git fetch origin

       B. git submodule update

       C. git pull origin

       D. git submodule add

1 Answer

0 votes
by

Developer A has done some changes in the subproject and pushed it. Developer B can pull those changes using __________.

    Correct Ans : git submodule update

Related questions

0 votes
    Which of the following creates new commit when you pull new changes from master to the feature branch? A. git rebase master B. git merge master C. git pull origin master...
asked Dec 20, 2022 in Technology by JackTerrance
0 votes
    When you run git fetch from your local repo, it will update your local changes in working area? A. True – ... It updates local repo only and does not affect the working area...
asked Dec 20, 2022 in Education by JackTerrance
0 votes
    What is the Git command to skip staging and commit the changes directly? A. git skip stage B. git commit C. git commit -a -m “message” D. git add changes...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    What is the Git command to view all the changes since the last commit ? A. git clean B. git status C. git changes D. git commit...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    What is the Git command to blow away all the changes in a file in the working area, since the previous commit? A. ... git log filename C. git checkout filename D. git rm filename...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    Developers A and B are building the same feature on feature/X branch. Developer B made some changes and pushed to the remote. ... git checkout B. git log C. git pull D. git push...
asked Dec 20, 2022 in Technology by JackTerrance
0 votes
    What does the command git checkout -b branchname do? A. Creates a new branch and switches to this new branch B. ... branch C. Deletes the new branch D. Commits the new branch...
asked Dec 20, 2022 in Education by JackTerrance
0 votes
    When you run git fetch from my local repo, will it update your local code and target branch? A. Yes, the command ... new commits and keep them in a separate branch in local repo...
asked Dec 20, 2022 in Education by JackTerrance
0 votes
    How can you fix a broken commit? A. git reset B. git commit –amend C. git fix D. git rebase...
asked Dec 23, 2022 in Technology by JackTerrance
0 votes
    How can you temporarily switch to a different commit? A. git reset commitSHA B. git commit commitSHA C. git checkout commitSHA D. all the above options...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    Which command can you use to update remote refs with local refs? A. git push B. git fetch C. git pull D. git update...
asked Dec 17, 2022 in Technology by JackTerrance
0 votes
    I do not want to retrieve the review's "state" ( e.g., 'open', 'closed' ) but rather ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I pulled a project from GitHub a few days ago. I've since discovered that there are several forks on GitHub, ... those forks I pulled? Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    How to delete unpublished Git commits and get rid of them permanently? A. git reset –hard B. git revert C. git reset –soft...
asked Dec 20, 2022 in Technology by JackTerrance
0 votes
    Which type of remote URL does not require your user-name and password while for cloning or pushing? A. SSH url B. Https Url...
asked Dec 17, 2022 in Technology by JackTerrance
...