GitInput: Determine default branch for repository #86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "git-default-branch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Up until now when no branch was defined the Git Plugin hardcoded the
master branch.
Now we try resolving the default branch with git ls-remote and allow
a configurable fallback branch, that can be master or anything else.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.