Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In bitbucket/git, what does "xx commits behind proto. Sync Now" do?

Tags:

git

bitbucket

I've seen this message in bitbucket a couple times, for some feature branches that branched off from proto.

If I click Sync Now, what does it do?

screeshot

like image 312
Kid_Learning_C Avatar asked Aug 13 '19 14:08

Kid_Learning_C


People also ask

What does sync now do?

When you sync. You can see and update your synced info on all your devices, like bookmarks, history, passwords, and other settings. You'll sign in automatically to Gmail, YouTube, Search, and other Google services. If you were signed in before turning on sync, you'll stay signed in.


1 Answers

so Sync Now would merge the all the new commits in proto into my current feature branch?

It is the "Sync now" feature presented in this 2018 thread (initially for SVN, and for complaining that feature was not visible enough in the new BitBucket Cloud web UI).

In the case of "x commits behind" and Git, it would actually simply move the HEAD of your main branch (master) to the latest of the original repository.
Your feature branch should be unchanged (you can rebase it on top of master after sync if you want).

like image 118
VonC Avatar answered Oct 10 '22 14:10

VonC