LMSouq
moodle-core Open

Git is not showing all branches on local

CO
Community Contributor
1 month ago
3 views
Problem Description
I forked a repo from Github. On doing `git remote -v` it displays: origin https://github.com/myusername/moodle.git (fetch) origin https://github.com/myusername/moodle.git (push) upstream https://github.com/moodle/moodle.git (fetch) upstream https://github.com/moodle/moodle.git (push) The `moodle.git` has about 10 branches, but the repo shows only 2 of them. On doing `git branch -a` (show all branches) I get: MOODLE_24_STABLE// just these two on local..how? * master// origin/MOODLE_13_STABLE origin/MOODLE_14_STABLE origin/MOODLE_15_STABLE origin/MOODLE_16_STABLE origin/MOODLE_17_STABLE origin/MOODLE_18_STABLE origin/MOODLE_19_STABLE origin/MOODLE_20_STABLE origin/MOODLE_21_STABLE origin/MOODLE_22_STABLE origin/MOODLE_23_STABLE origin/MOODLE_24_STABLE origin/master upstream/MOODLE_13_STABLE upstream/MOODLE_14_STABLE upstream/MOODLE_15_STABLE upstream/MOODLE_16_STABLE upstream/MOODLE_17_STABLE upstream/MOODLE_18_STABLE upstream/MOODLE_19_STABLE upstream/MOODLE_20_STABLE upstream/MOODLE_21_STABLE upstream/MOODLE_22_STABLE upstream/MOODLE_23_STABLE upstream/MOODLE_24_STABLE upstream/master How do I resolve my problem without any loss of data or any irregularities?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base