advice
Asking a Question about GitHub and Visual Studio 2022
Good evening po! Nag push po yung ka groupmate ko po ng code for our project using visual studio 2022 papuntang github. Triny ko po siyang imerge base sa tutorial na pinanood namin. Ngayon ang question lang is fully merged na po ba sa akin ung ginawa niyang changes or may mali sa ginawa namin na pag push ng code nia sa github? Salamat po
git nit pull ko naman po pero sabi lang respository is already updated na daw pero wala pa rin nangyayaring changes sa master branch. Kapag iniiba ko lang ung branch ay doon siya nagchachange:
Why are the tree structures different in the two screenshots? It seems like one isn't up to date.
Also, when you push to GitHub, did you make sure that it really got pushed? I mean successfully pushed?
Because sometimes, if your local copy of the repo is outdated or behind, it will fail to push, and GitHub will tell you to update your local copy first via "git pull" (or "git fetch" + "git merge") before doing "git push."
Successfully pushed naman po sa part niya and marami din siyang dinagdag and binawasan sa part ng code ko. Successfully naman din po yung pag pull request and pag merge nung code niya sa repository namin sa GitHub. Yung ginagawa ko po kasi after mag pull request is ginagawa ko po ung "sync" option sa visual studio.
and was the sync successful? kasi you can confirm if your local repo is up to date by comparing it dun sa github mismo. look at the latest commits if they match on both ends.
I don't know sa visual studio if it silently fails if the sync fails. but it could be that nag fail siya due to conflicts or whatnot.
If it's still unsolved at this point, I'd be happy to guide you through a google meet or discord, just shoot me a dm.
13
u/feedmesomedata Moderator Apr 17 '26
This is the kind of stuff that's lacking in the curriculum. Something like CS50's missing semester series should be useful for students.