You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How can I push to remote with flag "--no-follow-tags"? #1255
I usually use comamnd "git push origin remote --no-follow-tags" to push my codes.
But when I use gitpython, I got error below:
Traceback (most recent call last):
File "/home/android/bin/push.py", line 191, in <module>
main()
File "/home/android/bin/push.py", line 186, in main
work()
File "/home/android/bin/push.py", line 177, in work
git_repo.git.push(url, remote)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 588, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1134, in _call_process
return self.execute(call, **exec_kwargs)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 931, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git push ssh://android@gerrit.com:29418/kernel/msm-5.4 HEAD:refs/for/DEV_branch --no-follow-tags
Activity