Questions tagged [git-fetch]

git-fetch - Download objects and refs from another repository

The git command fetch retrieves changes done in a remote repository.

It will not merge the changes automatically into your local branches, use git pull for this or merge from the origin-branch after doing fetch.

See the man page for full details.

397 questions
-1
votes
1 answer

Need guidance! Trying to learn about fetch() and Promises

Basically I'm trying to fetch the URL and URLPaths for two images I've uploaded (to Firebase) using the firebase function /storeImage and JSON.Stringify(). Below is the snippet of code that enables me to fetch data for the ONE image. .then(token =>…
Reuben
  • 141
  • 12
-1
votes
2 answers

Why doesn't git fetch update local branch?

I have the following scenario: I have my remote branch equal to my local branch. Then I made some changes in the remote branch and some different changes in my local branch. My idea is to run git fetch, to sync my local branch, then check the…
bakeiro
  • 1
  • 1
  • 1
-1
votes
1 answer

git fetch does not update my local branch

I am new to git (have used other version control systems like Perforce) but what I am trying to do seems very basic to do it wrong. I have a local workspace and a remote one. I want to bring changes from the remote to local (not force update but…
ghostrider
  • 5,131
  • 14
  • 72
  • 120
-1
votes
1 answer

Push/Fetch command for Git in QtCreator works only in Remotes-menu

I'm currently fighting with QtCreator 2.5.0 and Git. I initialized a local repo in my project's root-directory. After that I added my remote repo on GitHub (SSH key etc. - all set). For some reason though QtCreator refuses to push/fetch my code to…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161
-1
votes
1 answer

How to overwrite remote specific branches on git fetch?

I have setup a central backup server which has all the developer repos added as remotes. I fetch everyday from all the remotes. It gives me all the branches of developers as dev1/master, dev1/FeatureA, dev2/master, dev2/Hotfix etc. I do this so that…
Mudassir Razvi
  • 1,783
  • 12
  • 33
-2
votes
2 answers

why i can't see the new remote branch on my localhost after git fetch --all?

Hello everyone. yesterday, my boss created a new remote branch that i should have after, but when i use git fetch --all, on my local host, i just have the ancient branches that i had before, and i can't switch to the new created branch because i…
Sam
  • 25
  • 1
  • 2
-3
votes
1 answer

How do I set git fetch --force in git config?

I want every fetch and pull to get tags from origin, replacing local ones if they differ, and delete tags and origin/ branches that are not on origin, so I did this: git config --global fetch.tags true git config --global fetch.force true git config…
H.v.M.
  • 1,348
  • 3
  • 16
  • 42
1 2 3
26
27