---
title: "Discussion on \"No More Manual Pulling: How to Automatically Pull All Git Branches from Remote to Local\" | Hashnode"
description: "Discussion on \"No More Manual Pulling: How to Automatically Pull All Git Branches from Remote to Local\". Problem\nWhen you clone a repo to your local machine, it doesn't pull all the branches to your local. Then you have to manually pull the branches you want.\nSolution\nTo pull all the branches from the remote, run the following command\ngit branch -r | gr..."
url: "https://hashnode.com/posts/no-more-manual-pulling-how-to-automatically-pull-all-git-branches-from-remote-to-local/645f1c44f489b0aa0d789fa4"
---

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

Discussion

# [No More Manual Pulling: How to Automatically Pull All Git Branches from Remote to Local](https://blogs.chaitanyashahare.com/no-more-manual-pulling-how-to-automatically-pull-all-git-branches-from-remote-to-local?utm_source=hashnode&utm_medium=feed)

Problem When you clone a repo to your local machine, it doesn't pull all the branches to your local. Then you have to manually pull the branches you want. Solution To pull all the branches from the remote, run the following command git branch -r | gr...

May 13, 2023 · 1 min read · blogs.chaitanyashahare.com  
Read the article

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

## Written by

[Chaitanya Shahare](https://hashnode.com/@Chaitanyashahare)

@Chaitanyashahare · Mumbai, India

  
[View profile](https://hashnode.com/@Chaitanyashahare)

Google Summer of Code '24 Contributor @ The LLVM Compiler Infrastructure

I'm an engineering senior at National Institute of Technology, Srinagar, India. I'm a developer, fitness aficionado, productivity enthusiast and a fellow nerd.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
