git - Repo - code mismatch, some code is lacking -
i merged master branch dev branch, should same. in source tree, have latest commit same, looks ok. both branches in origin.
but when use git checkout dev in project, lack code, if before merging.
in bitbucket, when change branch dev, code looks ok. why hell lack in project then?
i tried git pull i'm getting everything-up-to-date. git status doesn't show either.
what's wrong?
it might local branch dev not tracking remote branch dev.
to check remote branch each of local branch tracking, execute command:
git branch -lvv
if, in list of branches get, local branch dev not tracking remote branch dev, might want configure local branch dev track remote branch dev. can using command
git branch --set-upstream-to=upstream/dev dev
given remote upstream.
Comments
Post a Comment