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

Support setting upstream URL for branches #1

Open
atiq-cs opened this issue Nov 3, 2021 · 1 comment
Open

Support setting upstream URL for branches #1

atiq-cs opened this issue Nov 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@atiq-cs
Copy link
Owner

atiq-cs commented Nov 3, 2021

this is a feature request

image

to support setting upstream URL right after a git init when URLs are not set yet.

At present we get following error,

Probable authentication error: The branch 'dev' ("refs/heads/dev") that you are trying to push does not track an upstream branch.

this reference might be related,
https://csharp.hotexamples.com/examples/LibGit2Sharp/RepositoryOptions/-/php-repositoryoptions-class-examples.html

@atiq-cs atiq-cs added the enhancement New feature or request label Nov 3, 2021
@atiq-cs
Copy link
Owner Author

atiq-cs commented Nov 15, 2021

Currently, this works with Refspec

ref in code,

private async Task PushToRemote(bool shouldForce = false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant