C
C#14mo ago
mwc

✅ Visual Studio and Github

I've joined here as I've got a Visual Studio/Github issue that is probably me being an idiot. I've finally created a github account to store a couple of my projects, but I'm struggling with how to actually upload the changes to Github. The current project I'm working on, I have managed to upload to Github as the master branch. I've created a new branch, but I cannot get any changes to that new branch to upload to Github. I've tried creating the branch on Github and in VS, and the new branch is created in both places regardless of where it's created, but I can't get code changes to upload to github. I'm sure I'm being an idiot and missing something really obvious, but could somebody explain to me how to do this, as my googlefu has failed, and I can't even find any kind of tutorial beyond the basics from MS?
8 Replies
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
mwc
mwcOP14mo ago
Not very! Upload is the rwrong term, but I tried all the options (push, pull, commit), but none seemed to make any changes to the code on Github
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
mwc
mwcOP14mo ago
Code was stored locally. I managed to upload that to Github from within VS.
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
mwc
mwcOP14mo ago
I then created a new branch (I have tried doing that both directly on GitHub and within VS, deleting the first attempt) and those branch changes get reflected in both places However if I make any changes (either edits, or adding new files), I cannot manage to get those changes onto Github Actually, I've just managed to push some changes I've been using the Git Changes tab wrong. I hadn't been Committing the changes correctly. Thanks for your help, I think I have that part of the process sorted now.
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX14mo ago
Use the /close command to mark a forum thread as answered

Did you find this page helpful?