my code is:
\nurl = \"ssh://android@gerrit.com:29418/kernel/msm-5.4\"\nremote = \"HEAD:refs/for/DEV_branch --no-follow-tags\"\ngit_repo.git.push(url, remote)
How to fix my issue?
\nThanks!
What you want is this:
\nurl = \"ssh://android@gerrit.com:29418/kernel/msm-5.4\"\nremote = \"HEAD:refs/for/DEV_branch\"\ngit_repo.git.push(url, remote, no_follow_tags=true)
You will not receive progress though.
\nDoes that work for you?
-
I usually use comamnd "git push origin remote --no-follow-tags" to push my codes.
my code is: url = "ssh://android@gerrit.com:29418/kernel/msm-5.4"
remote = "HEAD:refs/for/DEV_branch --no-follow-tags"
git_repo.git.push(url, remote) How to fix my issue? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
What you want is this:
You will not receive progress though.
Does that work for you?