Closed JianJiaT closed 4 months ago
Not sure how you ended up in this state. Can you give the screenshot of SourceTree commit history with all branches shown?
Not sure how to make the commit history bigger, but I can scroll down all the way to find the initial commit of the remote branch
Sorry, can't make much sense. Please ping me on MSTeams to continue the triaging.
Solved with the help of prof, turns out I cloned to the wrong folder
I received an error when attempting to push my local code to my GitHub repo ("Updates were rejected because the tip of your current branch is behind its remote counterpart"), and when I fetched from the GitHub repo it appears that my local commits are on a new, different branch from my GitHub repo. I tried to checkout at origin/master and merging my first local commit, but it failed as they were unrelated histories. How did this issue arise, and how would I fix this issue?