At work we have to use Bitbucket and to create the new branches we have to use the webpage.
When I do this and try to update my local repo using git pull
I can see all the code, commits and even branches created by other users are pulled from remote except for the branch I recently created.
Then I have to keep trying git pull
and see the message Already up to date.
for 15 or 20 minutes until suddenly the branch is updated.
I was using https to clone the repos and I realized that using SSH started to avoid this issue, but a few weeks later I'm starting to see this issue again with SSH as well.
I'm assuming the issue is related to Bitbucket but I haven't found any info. Is there a way to avoid this? or maybe a way to force the update?