8 ms·
Syncing and merging come to Bitbucket
- speeder 14y agoI use Bitbucket (because it allows for private projects, I use in the company), and this feature sounds very interesting. It is great when you can just fork a thing, and keep working on it, and Bitbucket keeps it synced for you, without you needing to remember to pull every day.
- lvh 14y agoI'm not sure how this works. Does it rebase? On an unrelated note, I think it's pretty funny you can sign in to Bitbucket using your Github account :) Reminds me of how I signed into Bitbucket for years using my Launchpad OpenID :D
- qwerta 14y agoI feel my next project will be hosted on Bitbucket rather than github :-) First they removed downloads and now they do not have this useful feature :-)
- atechie 14y agoDownloads is a valid missing (or rather removed) feature, but as others have pointed out, this feature at core is not very different from rebase.
- markokocic 14y agoNeither is fork or pull request something that you can't do easily without Bitbucket and Github, but people still use them mainly because those two sites make it easier for them to fork a project and keep the fork up to date. I guess it's all about convenience, and time will tell if people will use it.
- shuzchen 14y agoGithub also does not have side-by-side diffs, and lacks hg support. I do wish Bitbucket would make a gist ripoff though.
- deepak-kumar 14y agoWow, tried it and I am already liking this feature. Always helps to know where my fork stands w.r.t. parent repo. Way to go Bitbucket, keep it coming!
- tunnuz 14y agoFor what it's worth, I think that the service Bitbucket.org is offering is great and these guys are doing a really good job.
- borplk 14y agoCan someone guide me on how you'd normally sync feature branches? If you have already pushed the feature branch, doesn't rebasing mess things up because the parent and hence the hash of the commits in that branch change? My feature branches get outdated compared to the master and I'd like to sync them with master and make it merge-ready so I can create a pull request and someone can seamlessly merge it in.
- speg 14y agoYes, I usually keep the feature branch on my machine and rebase master on to it every day. I would also like to know how to push it while continually rebasing it on top of master.
- balac 14y agoIts nice to see Bitbucket moving away from simply copying the design and featureset of Github. The newer design and features like this are very welcome.
- randlet 14y agoThis seems like a really nice feature! At work I maintain an open source project but also have a private fork containing customizations just for our centre. This should make it very very easy to keep my private repo in sync with the public version. BitBucket has been pushing a lot of nice features lately!
- prawks 14y agoI think on the whole, github and BitBucket are very refreshing. They both come out with great ideas, and it fosters a very, very healthy space in which to provide services to users (source code hosting, versioning, and management). It is also a space that every developer should become intimate with, and I think it's great that it's been brought to the forefront of software development like it has, especially for the visibility it has to new developers. When I started my bachelors in CS 5 years ago, I didn't have source control until my 2nd/3rd year, now it's something at the forefront of learning to program.
- happypeter 14y agoIn my daily workflow, a feature branch is there on the server mostly for it's part of a already-sent pull request. So in this case, do a syncing does not make any sense. For a feature branch from my local clone, I do love to sync with upstream/master as often as I can, but I can do it quickly and knowingly(rebase or merge) with command line. So for me, thanks but no thanks. But I do know a lot people use the remote feature branch as a tmp backup of the WIP feather branch, in this case, the fact that you can quickly sync with upstream/master does help, but what if you click "sync branch" and merge conflicts happen?
- GhotiFish 14y agoI'm a bit green to the workflow my self, but I agree with you, this doesn't seem to add anything. Why is having the server doing the merge advantageous to doing the merge locally?
- brown9-2 14y agoFrom the blog post: without ever needing to go to the command line. So I think their goal is to make things even easier for users that have trouble (or don't like) the command line.
- anton_gogolev 14y agoIt can't possibly be rebasing since the changesets on BitBucket are "published" in HG parlance and cannot be rewritten. I'm assuming it does simple merges.
- IgorPartola 14y agoGlad that BitBucket is developing original features. It's a great alternative to GitHub especially since the pricing is so much saner.
- mvasilkov 14y agoThis is pure awesome.
- Jagat 14y agoAs a graduate student, I prefer bitbucket to github for maintaining my codebase for course projects and homework assignments, for the simple reason that it provides free private repositories. For the sake of maintaining academic integrity, making my course projects and assignments public is not recommended till the course ends.
- hcarvalhoalves 14y agoBitbucket has the potential to become much better than GitHub - as long as they keep filling feature holes like these - since they're not tied to just one DCVS. For the first time, I feel compelled to set some time aside and test the service throughout. GitHub stability/availability has been lacking lately, and a better bug tracker would be useful.
- holman 14y ago> since they're not tied to just one DCVS. Just for the record, neither is GitHub. :) We've supported Subversion for almost three years now.