Creating new branch in github but it isn't current?

115 Views Asked by At

I created a new branch in github for the 2nd part of my project. However, when I am on it, my xcode project reverts to an old version (not up do date with last branch)

clarification:

branch checkpoint-19

created new branch called checkpoint-20

when on checkpoint-20, the project I am working on is of a version before checkpoint-19

Does anyone have any ideas what I am doing wrong?

1

There are 1 best solutions below

6
On BEST ANSWER

Did you push your changes for checkpoint-19?

git push --set-upstream origin checkpoint-19; git checkout -b checkpoint-20;