Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
When you run git fetch from your local repo, it will update your local changes in working area?
Home
Git
When you run git fetch from your local repo, it will update your local changes in working area?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
Q:
When you run git fetch from your local repo, it will update your local changes in working area?
a) True – It fetches the latest changes and merges with the local changes
b) False – It updates local repo only and does not affect the working area
local-repo
git-fetch
1
Answer
0
votes
answered
Feb 13, 2022
by
rajeshsharma
b) False – It updates local repo only and does not affect the working area
Related questions
0
votes
Q: When you run git fetch from my local repo, will it update your local code and target branch?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
git-fetch
target-branch
+1
vote
Q: What is the difference between "git pull" and "git fetch"?
asked
Aug 16, 2020
in
Git
by
RShastri
#git
git-pull
git-fetch
0
votes
Q: What is the difference between git pull and git fetch?
asked
Oct 15, 2019
in
Git
by
rajeshsharma
git-pull
git-fetch
fetch-git
pull-git
pull
fetch
+1
vote
Q: You need to update your local repos. What git commands will you use?
asked
Aug 16, 2020
in
Git
by
RShastri
#git
0
votes
Q: What is the Git command to blow away all the changes in a file in the working area, since the previous commit?
asked
Oct 26, 2020
in
Git
by
AdilsonLima
#git
0
votes
Q: In Git, if you want to make your local repository reflect changes that have been made in a remote (tracked) repository, you should run the pull command
asked
Mar 17, 2021
in
GitHub
by
rajeshsharma
github
github-local-repository
0
votes
Q: Can you made changes on the repo and how you can make sure that the same has been merged into the working copy?
asked
Dec 18, 2020
in
SVN
by
SakshiSharma
#subversion-merge
#merge-work
0
votes
Q: How will you differentiate between git pull and git fetch?
asked
May 21, 2020
in
Git
by
SakshiSharma
#git-pull
#git-fetch
#git-pull-vs-git-fetch
0
votes
Q: Git discard all changes - How to undo all working dir changes including new files?
asked
Nov 15, 2020
in
Git
by
rajeshsharma
#git-discard
#git-command
0
votes
Q: Suppose you have some subset of codes with you while working with the SVN and you need to move them from one SVN repo simply to another along with their history, how this can be done?
asked
Dec 18, 2020
in
SVN
by
SakshiSharma
#subverson-subset
#subset-codes
0
votes
Q: How to remove a file from git without removing it from your file system?
asked
Oct 16, 2019
in
Git
by
rajeshsharma
git-remove
0
votes
Q: Which command can you use to update remote refs with local refs?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
remote-refs
local
refs
0
votes
Q: Which of the following creates new commit when you pull new changes from master to the feature branch?
asked
Oct 26, 2020
in
Git
by
AdilsonLima
#git
0
votes
Q: How do you push a file from your local system to the GitHub repository using Git?
asked
Oct 30, 2022
in
DevOps
by
Robindeniel
push-file
git-push
github
devops
0
votes
Q: Which command shows the difference between the working directory and the index or staging area?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
index-directory
staging-area
0
votes
Q: How would you update Memcached when data changes?
asked
Jun 16, 2022
in
MemCached
by
Robindeniel
memcached-update
0
votes
Q: Explain how you can update Memcached when you make changes to PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: What's the opposite of git clone, instead of downloading your code from GitHub, uploads your changes and code back to GitHub?
asked
Mar 17, 2021
in
GitHub
by
rajeshsharma
git-clone
download-code-github
github
0
votes
Q: Highlight the main difference between a Git pull and Git fetch?
asked
Sep 3, 2020
in
Git
by
SakshiSharma
#git-pull
#git-fetch
0
votes
Q: Explain the difference between "git pull" and "git fetch"?
asked
Feb 17, 2020
in
Git
by
SakshiSharma
#git-pull
#git-fetch
...