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
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://[email protected]:29418/kernel/msm-5.4 HEAD:refs/for/DEV_branch --no-follow-tags
I usually use comamnd "git push origin remote --no-follow-tags" to push my codes.
But when I use gitpython, I got error below:
my code is:
How to fix my issue?
Thanks!
The text was updated successfully, but these errors were encountered: