---
title: "Discussion on \"Fix git not updating remote from remote on fetch\" | Hashnode"
description: "Discussion on \"Fix git not updating remote from remote on fetch\". You have cloned a repo maybe using shallow clone with git clone --depth <depth> <repo> implies --single-branch, \nBut strangely when you are trying to fetch from remote, it's not working. \nTo fix a local repo that's not fetching try:\nor\ngit config rem..."
url: "https://hashnode.com/posts/fix-git-not-updating-remote-from-remote-on-fetch/60f6955408a35e79f1fd1d3d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fix git not updating remote from remote on fetch](https://blog.victor-abz.com/fix-git-not-updating-remote-from-remote-on-fetch?utm_source=hashnode&utm_medium=feed)

You have cloned a repo maybe using shallow clone with git clone --depth <depth> <repo> implies --single-branch, But strangely when you are trying to fetch from remote, it's not working. To fix a local repo that's not fetching try: or git config rem...

Jul 20, 2021 · 1 min read · blog.victor-abz.com  
Updated Oct 2, 2023  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#version-control](https://hashnode.com/tag/version-control)
-   [#github](https://hashnode.com/tag/github)

## Written by

[Abizeyimana Victor](https://hashnode.com/@victor-abz)

@victor-abz

  
[View profile](https://hashnode.com/@victor-abz)

Software Engineer

I will raise your revenues or decrease your costs using solutions based on logic and in most cases, it will involve a computer. Design - Build - Improve. I design solutions to your business problem, build it with you and your team and finally scale the solution to fix other related problems. I use Javascript and Python as the main languages for development but I am eager and faster to learn anything that would be put a solution on the table.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
