It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GIT cherry Pick operation using Stash

Hello ,

Does stash support's git cherry pick operation in its hosted repositories ? We want to keep our

commit history linear and clean . Merge operation results in a merge bubble and we want to avoid such scenarios . I think only way to merge branches in stash is pull request and it provides only a merge option hence creating a non linear history.



1 answer

0 votes
Seb Ruiz Atlassian Team Mar 28, 2013

Whilst the argument for keeping a commit history linear is probably moot here (we don't recommend it, but that's another story), Stash doesn't support an inbuilt method for keeping history linear, via cherry picking or via rebasing pull requests when accepting them.

You can follow this request for more details:

But we can still cherry pick commits or rebase using command line in a stash hosted git reposiotry rite , using the git native commands?

Seb Ruiz Atlassian Team Mar 29, 2013

Yes, but a pull request will not be marked as "merged". The fastest way to get these answers it to give Stash a trial run and test it.

Ok ... Can we mandate ff and no-ff merge strategies for a pull request merge?

Seb Ruiz Atlassian Team Apr 03, 2013

--no-ff is the default for pull requests. See for forcing --ff

i got confused since i was not able to locate STASH-2857 in Stash 2.1.0 release notes. Jira indicates this as closed with fix version 2.1.0

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Atlassian supported Jenkins integration for Bitbucket Server

We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...

395 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you