in Technology by

Which command can you use to update remote refs with local refs?

       A. git push

       B. git fetch

       C. git pull

       D. git update

1 Answer

0 votes
by

Which command can you use to update remote refs with local refs?

      Ans : git push

Related questions

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
    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
    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
    What is the command to delete a branch in your remote repository? A. git delete branchname B. git branch -d branchname C. git push origin -d branchname D. None of the options...
asked Dec 20, 2022 in Technology by JackTerrance
0 votes
    Which command would you use to view the history of commits? A. git view history B. git show history C. git log D. git show commits...
asked Dec 17, 2022 in Technology by JackTerrance
0 votes
    What is a good practice to follow when you want to backup a local branch? A. Push to remote repo B. Move to another PC C. Create another copy D. None of the options...
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
0 votes
    Which command shows the difference between the working directory and the index or staging area? A. git status B. git diff...
asked Dec 17, 2022 in Technology 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 does the command git checkout branchname do? A. Adds the new branch B. Switches from main branch to the new branch C. Commits the new branch D. Deletes the new branch...
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 view all the commits since 1st January 2017 ? A. show git log since Jan 1 2017 B. git log ... =”2017-01-01” C. git log D. None of the options...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    What is the Git command to view the last 3 commits in one line ? A. git show log -3 B. git last 3 commits C. git log D. git log -–oneline -3...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    What is the command to store uncommitted temporarily? A. git commit B. git tempstore C. git stash D. git store...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    What is the command to reset your index as well as the working directory to the state of your last commit? A. git clean B. git reset C. git revert D. git checkout...
asked Dec 21, 2022 in Technology by JackTerrance
...