GitHub Desktop cloned the wrong branch

At Github branche DEV, if in Code I select 'Open with Github Desktop', it does not clone the DEV branch but the Master branch If I go to Github Desktop and I Clone (Internet) via the DEV URL, it does not find it
Solution:
I usually git checkout dev which works as long as the branch exists on the remote
Jump to solution
8 Replies
remoe
remoe3mo ago
Which github repos ?
Jean Michel
Jean MichelOP3mo ago
GitHub
GitHub - satisfactorymodding/SatisfactoryModLoader at dev
SatisfactoryModLoader is an unofficial tool to load mods for the game Satisfactory. - GitHub - satisfactorymodding/SatisfactoryModLoader at dev
remoe
remoe3mo ago
You don't need to use github desktop. Go to the github repos, select the branch (on the left side). Press "<> Code" on the right side and press "Download ZIP"
Jean Michel
Jean MichelOP3mo ago
Yes that's what I finally had to do but in 'satisfactory-modding Documentation' it is advised to use GitHub Desktop I finished all this tutorial and made my first mod with the .zip Then I wanted to use the github desktop
remoe
remoe3mo ago
Or download git for windows. Open cmd.exe, call
git clone https://github.com/satisfactorymodding/SatisfactoryModLoader.git
cd SatisfactoryModLoader
git branch -v -a
git checkout dev
git clone https://github.com/satisfactorymodding/SatisfactoryModLoader.git
cd SatisfactoryModLoader
git branch -v -a
git checkout dev
Solution
Rex
Rex3mo ago
I usually git checkout dev which works as long as the branch exists on the remote
Rex
Rex3mo ago
(Also, would be nice to correct the capitalisation of GithuB in the post's title to GitHub.)
Jean Michel
Jean MichelOP3mo ago
Oops sorry, but I can't edit the title
Want results from more Discord servers?
Add your server