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.
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.