I am working on a project using git hub for version control. I have a branch called main and I created a branch called tests with the command git checkout -b pruebas
, up to that point it brings me the code that I have in the main branch, I verify with the command git branch
if I am in the tests branch and I start to make the respective changes, but at Switching to the main branch shows me the code that I have written in the tests branch without having made a commit or a git merge
. I am using visual studio code and the commands are executed from the git bash console. But, I don't know how to solve that problem or if there is any step that I am not doing. Thanks for your help.
Home
/
user-306254