Also let me know if we can configure Only-Pull-from-Parent (with Rebase) and Only-Push-to-Origin (with Force), without having the risk of accidental Pull/Push to the wrong repository
Hello @Sourav Kumar Sahu,
I'm not quite sure what constraints you want to set up and where, please elaborate on your use case.
On Bitbucket side you might make use of branch permissions (and obviously repository permissions).
Hope this helps.
Cheers,
Daniil
Hi @Daniil Penkin ,
I have Parent repo and 2 forks Origin-pc1 & Origin-pc2. These forks are cloned into 2 different Local PCs.
Now i want to configure
1) Only pull-rebase from Parent to Local
2) Only Force-push from Local to Origin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I think I got you.
So the configuration you're after is client-side, e.g. you'll have to configure Git clients on those local PCs.
You might also want to restrict Parent from being modified in any way other than Pull Requests (again, you can do that with repository permissions and/or with branch permissions).
Hope this answered your question.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.