-
Notifications
You must be signed in to change notification settings - Fork 9
Fixes #366 Add merge to sync flow #376
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
Conversation
One more thing to add here: when a new branch is created, it should be created based on the remote branch configured in this new setting. That will be key to the feature branch workflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing here, then I think we're good.
@@ -405,6 +431,8 @@ ClassMethod Sync(Msg As %String) As %Status | |||
do ..Pull() | |||
do ..SyncCommit(Msg) | |||
do ..Push() | |||
do ..MergeDefaultRemoteBranch() | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to Push after the merge as well, so that the merge is reflected in the remote.
Now allows users to configure a default branch to merge from during the sync flow before pushing