How to prevent git branching and merge on same branch? -


i had work on laptop on dev branch, pushed.

later, did work on desktop, on dev, , when went push it, failed message "fetch first". did pull , merged, pushed.

it ended looking this:

enter image description here

as can see, split in dev branch merge. obviously, have been prevented if had remembered fetch first before commit.

but @ point bitbucket rejected push, there have done prevent merge , nice straight timeline?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -