You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would suggest that the command queries the repo endpoint first to get the default branch of a repo and uses that in case the user hasn't passed --branch. Was that what you suggested as well?
Clear and concise description of the problem
woodpecker-cli deploy --help
now tells us:the git community tho seems to have been moving from the name
master
tomain
.Suggested solution
it would be nice if woodpecker allowed configuring the default branch (and update cli documentation) to reflect this.
Alternative
default to
main
overmaster
Additional context
related thread on gitea: #480
Validations
The text was updated successfully, but these errors were encountered: