I have an annotated tag that’s called folicp but there is also a file with the same name so when I try to run
git show folicp
I get fatal: ambiguous argument 'test': both revision and filename
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
git show folicp --. The--distinguishes refs from filenames.Alternatively you could use the fully-qualified tag name,
git show refs/tags/folicp