Add implementation for git_remote_default_branch by mburtka · Pull Request #1969 · libgit2/libgit2sharp · GitHub
Skip to content

Add implementation for git_remote_default_branch#1969

Open
mburtka wants to merge 1 commit into
libgit2:masterfrom
mburtka:remote-default-branch
Open

Add implementation for git_remote_default_branch#1969
mburtka wants to merge 1 commit into
libgit2:masterfrom
mburtka:remote-default-branch

Conversation

@mburtka

@mburtka mburtka commented May 18, 2022

Copy link
Copy Markdown

Implements the feature requested in #1796

This fetches the default branch from a remote repository. This is useful to detect changes, and when remotes are added following initialization.

@ghost

ghost commented Jul 19, 2022

Copy link
Copy Markdown

@atiq-cs

atiq-cs commented Dec 17, 2022

Copy link
Copy Markdown

Is there any update on this?

Would love to set a default branch while initializing an empty repository. Thanks.

@Athari

Athari commented Aug 27, 2025

Copy link
Copy Markdown

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.

3 participants