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

Ensure local branch name is not omitted in push #153

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

pheeque1
Copy link
Member

When the CodeUpAction is first executed in a git repository with zero commits, it fails because no branch explicitly exists without a git history. It however works when the command is repeated since then a commit has been created.

This PR ensures that the local branch name is always included during a CodeUpAction call.

@pheeque1 pheeque1 requested a review from ostark January 19, 2023 13:32
Copy link
Collaborator

@ostark ostark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ostark ostark merged commit eb68948 into master Jan 27, 2023
@ostark ostark deleted the fix/no-local-branch-after-init branch January 27, 2023 10:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants