Skip to content

How to use Github Desktop to upload files to a specific branch? #22661

Answered by gh91745
gh91745 asked this question in New to GitHub
Discussion options

You must be logged in to vote

I think I answered my own question. I thought the project folder was full of files from the first branch, but when I took another look, it was empty. I guess Github desktop clears it after it’s synced (pushed? not sure about the terminology) with the online repository. So in Github desktop, I selected the second branch, copied the other files into the folder, then clicked on “Push origin” button at top right. That seemed to populate the second branch in the online repository w/ the files I had just copied.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant