I created a new branch and uploaded everything to GitHub. After that I had problems with my computer. Now I downloaded the repository from GitHub, but only one branch is available. What do I do? I want to merge this branch with the main branch.
Asked
Active
Viewed 24 times
-1
-
https://stackoverflow.com/search?q=%5Bgit%5D+clone+all+branches – phd May 15 '22 at 14:36
1 Answers
0
After you git clone for the download, you can git checkout main then execute :
git merge remotes/origin/<your_branch>
git push
SeanH
- 396
- 1
- 7