git - Stash Merge 2 Repositories with complete History -


i want merge 2 repositories in same project in stash. complete history should merged too. there way this?

stash developer here. git question. depending on how want/need repository merged recommend first check out git subtree:

http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/

alternatively can run git pull ../other_git_dir in first repository, , fetch commits on default/current branch (eg. master) second repository. note works 1 branch @ at time. more reading:

http://scottwb.com/blog/2012/07/14/merge-git-repositories-and-preseve-commit-history/

if you're talking creating pull request can't (currently) across 2 unrelated (eg. non forked) repositories in stash. pull history 1 repository (as above) , create pull request way.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -