-
Notifications
You must be signed in to change notification settings - Fork 60
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
Push all tags #265
Comments
For that matter, is it possible to push a tag at all right now? It looks like I can't use a tag as the refspec in the push method for a > tags(repo)
$`fbind-init`
[837e86] fbind-init
> push(repo, "origin", "fbind-init",
+ credentials = cred_user_pass("EMAIL",
+ Sys.getenv("GITHUB_PAT")))
Error in .local(object, ...) :
Error in 'git2r_push': Not a valid reference 'bind-init' |
Does it work if you try: |
I get this: > push(repo, "origin", "refs/tags/*:refs/tags/*", credentials = cred_user_pass("EMAIL", Sys.getenv("GITHUB_PAT")))
Error in .local(object, ...) :
Error in 'git2r_push': Not a valid reference 'refs/tags/*' |
Ooh, this works for pushing a single tag, which is progress: push(repo, "origin", "refs/tags/fbind-init", credentials = cred_user_pass("EMAIL", Sys.getenv("GITHUB_PAT"))) |
Great 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does git2r support the equivalent of this:
git push origin --tags
?If not, could it?
The text was updated successfully, but these errors were encountered: