Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
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?
0
votes
asked
Feb 13, 2022
in
Git
by
rajeshsharma
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
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 13, 2022
by
rajeshsharma
b) False – It updates local repo only and does not affect the working area
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
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: What if one of my teammates accidentally deleted a branch and pushed the changes to the central git repo and I want to recover the branch?
asked
Aug 24, 2023
in
Git
by
JackTerrance
git-interview-questions-answers
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
...