I really don't understand how Bitbucket works.
Let say, there is a repo A. I forked it to create a repo B.
How can I ask to the maintainer of repo A to pull my work (useless to say that I don't have write access repo A)?
For now, I use "git request-pull" for my pull-request, but maintainers would like a more integrated way to that.
In "create a pull-request", Bitbucket does not allow me to set the source URL. It makes no sense. What is the purpose of using git (a distributed SCM), if all the branches must exist in the public repository?
If Repo A allows forks, you should be able to create a pull request from Repo B against Repo A.
This documentation has more information: https://support.atlassian.com/bitbucket-cloud/docs/fork-a-repository/
I see. Thank you, Tyler.
My fork (repo B) already exists. I guess there is no way to declare it as a fork of repo A? I have to save my branches somewhere, remove my repo B, fork the repo A, then push all my branches to the newly created repo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A fork is a bit different than a cloned copy of a repository. When used in apps like Bitbucket and Github, forks establish a relationship between repositories. When that relationship is established, one can create pull requests from a forked repo back to the original repo.
This can be done on the command line using `git remote` but won't appear the same when using the app.
This article explains it quite nicely: https://tharis63.medium.com/git-fork-vs-git-clone-8aad0c0e38c0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.