Relative Content

Tag Archive for gitvisual-studio-code

Created a branch and commit off wrong base branch

There exists a master branch and develop branch. They both have a different sets of commits. (I think I’m right to say that these branches have diverged) I accidentally created a feature branch off of the develop branch, made a commit, and pushed it to the remote repo. In this case, the code changes from the previous commits on master and develop do not affect the commit on the feature branch, so I should be able to move these code changes onto the master branch. How would I go about doing this in a proper git way?

Why are my git source control options different? Theres no options to set remote on my current version and I can’t figure out why

So I’m trying to get my version control to work properly, yet for some reason I’m getting different options to what I typically experience when using visual studio code. I have git installed and it appears to be fully functional. I have the extension installed as well. Yet for some reason I’m getting a seemingly different set of options with no button to set remote repository.