Surz
Surz

Reputation: 1024

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

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?

Upvotes: 1

Views: 107

Answers (1)

Gaurav Malhotra
Gaurav Malhotra

Reputation: 112

Did you push your changes for checkpoint-19?

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

Upvotes: 1

Related Questions