We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please help. I have the same problem like this. src-d/go-git#430 (comment)
After creating new tag it's appears on my local storage, but how I can push it to the remote repo?
repo.Push(&git.PushOptions{RemoteName:"origin"}) pushes my commits, but not the Tag
The text was updated successfully, but these errors were encountered:
I figured it out. Аfter a new tag has been created you should push it to remote with specifiec ref, something like this:
err = r.Push(&git.PushOptions{ RemoteName: "origin", RefSpecs: []config.RefSpec{ config.RefSpec("+refs/tags/" + newTagName +":refs/tags/" + newTagName), }, })
Sorry, something went wrong.
No branches or pull requests
Please help. I have the same problem like this.
src-d/go-git#430 (comment)
After creating new tag it's appears on my local storage, but how I can push it to the remote repo?
repo.Push(&git.PushOptions{RemoteName:"origin"}) pushes my commits, but not the Tag
The text was updated successfully, but these errors were encountered: