Skip to content

Git -> error: unknown option 'prune-tags' #4972

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

Closed
MIKNOTAURO opened this issue Dec 8, 2018 · 2 comments
Closed

Git -> error: unknown option 'prune-tags' #4972

MIKNOTAURO opened this issue Dec 8, 2018 · 2 comments
Labels
Support Support question

Comments

@MIKNOTAURO
Copy link

Details

I'm getting this error: unknown option `prune-tags' after build my docs.

I saw the code inside
vcs_support/backends/git.py

The fetch method has a flag '--prune-tag' which is not a valid flag in git.

I deleted that part and now everything works, but now I'm curious.

Did I miss something? or Am I wrong?

image

@dojutsu-user
Copy link
Member

Can this be related to the git version (it should be >=2.17) ??
This error is same as this (comment).

@stsewd stsewd added the Support Support question label Dec 8, 2018
@stsewd
Copy link
Member

stsewd commented Dec 8, 2018

I'm guessing you are using a local installation, you need git >=2.17, see https://docs.readthedocs.io/en/latest/install.html#requirements

@stsewd stsewd closed this as completed Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants