In my git repo, There are two branches except master
. nyteam
and cfteam
.
Switch to nyteam
branch
Commit some changes and pushed to origin/nyteam
(so far only one commit is pushed)
Switch to cfteam
git status
Your branch is up-to-date with 'origin/cfteam'
git pull origin nyteam
git status
Your branch is ahead of 'origin/cfteam' by 5 commits.
Now the question is, where does the other four commits come in place which is actually not done by me.
Can anyone explain this situation ?