Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Back to Bitbucket ? #86

Open
regicsolutions opened this issue Jun 24, 2021 · 1 comment
Open

Sync Back to Bitbucket ? #86

regicsolutions opened this issue Jun 24, 2021 · 1 comment

Comments

@regicsolutions
Copy link

I have this working where I am able to mirror my Bitbucket repo to CodeCommit and was wondering if there is a way this plugin can support pulling changes from the remote/upstream repo as well, basically looking to do a git pull —all at the same time…

@adrianluisgonzalez
Copy link
Member

Not really, it expects the mirror to be readonly. It works as a bitbucket PostRepositoryHook to push changes immediately after commits. By default it pushes refs/heads/* (plus optionally tags and notes).

I suppose you could try a PreRepositoryHook to pull changes before the commit, but I think that would lead to conflict resolution problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants