Skip to content

Conversation

@christiansiegel
Copy link
Member

Resolves #229

If another user pushes changes to the remote repo after gitopscli has cloned it, the subsequent push will fail. Alliviate this problem somewhat by pulling and rebasing local changes on top of any remote changes just before pushing.

For the case of creating a new branch (for a PR), the pull is skipped because it would fail due to the missing remote branch.

Resolves #229

If another user pushes changes to the remote repo after gitopscli has cloned it,
the subsequent push will fail. Alliviate this problem by pulling and rebasing
local changes on top of any remote changes just before pushing.:

For the case of creating a new branch (for a PR), the pull is skipped because
it would fail due to the missing remote branch.
@christiansiegel christiansiegel changed the title Feat/pull rebase feat: Pull and rebase before push Jul 11, 2024
@christiansiegel christiansiegel merged commit 2afeb9a into master Jul 11, 2024
@christiansiegel christiansiegel deleted the feat/pull-rebase branch July 11, 2024 04:59
@github-actions
Copy link

🎉 This issue has been resolved in version 5.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid clashes when working in parallel on the same repo

3 participants