Skip to content

How can I push to remote with flag "--no-follow-tags"? #1256

Answered by Byron
church6 asked this question in Q&A
Discussion options

You must be logged in to vote

What you want is this:

url = "ssh://android@gerrit.com:29418/kernel/msm-5.4"
remote = "HEAD:refs/for/DEV_branch"
git_repo.git.push(url, remote, no_follow_tags=true)

You will not receive progress though.
Does that work for you?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@church6
Comment options

Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1255 on May 26, 2021 23:58.