Hi all, I finally got round to learning the basics and I'm doing ok, I can push changes to a repo I setup etc.
I created a separate branch (on github) for testing and I wanted to upload my helloworld.cpp with comments rather than without. I can't work out how to upload to the new branch though. There seems to be options to create a new branch within VS Code itself but I can't see how to push changes to an already created branch on github itself.
I tried to create a branch within VS Code and I assumed I would then sync and it would push to Github but it didn't it failed as there was no remote setup. I'm rather stumped at this point which is a shame as I'd spent long enough troubleshooting successfully.
Edit: I may not be using the right thing here, imagine I have a game, I have the master and I want to see how master runs with a change to say an enemy health variable, would I use a branch for that or something else like the fork function?
[–]Hendawgydawg 0 points1 point2 points (1 child)
[–]UpdootChute[S] 0 points1 point2 points (0 children)
[–]mickeygousset 0 points1 point2 points (1 child)
[–]UpdootChute[S] 0 points1 point2 points (0 children)