patterngitMinor
fatal: ambiguous argument 'master': unknown revision or path not in the working tree
Viewed 0 times
paththeargumentunknownfatalrevisionworkingambiguousmasternot
Problem
when I modified one of my cookbook that I tried to add a cookbook dependency in berks file
and then tried to converge it which throws an error
I don't have much clue to explain even..but I can post my explanation as we go. I appreciate your help thank you
cookbook name, '=0.1.0', git: 'ssh://url:xxx/cookbook', tag: '0.0.1'and then tried to converge it which throws an error
'fatal: ambiguous argument 'master': unknown revision or path not in the working tree.use '--' to separate paths from revisions, like this:git [...] -- [...]'on testI don't have much clue to explain even..but I can post my explanation as we go. I appreciate your help thank you
Solution
The error looks like you're using a non-existent reference (branch/tag). Try specifying the correct branch and tag using the
Also ensure that your git URL is correct (your code does not contain the xxx.git part).
branch/tag options. You can also use the commit hash directly using ref option. Also ensure that your git URL is correct (your code does not contain the xxx.git part).
Context
StackExchange DevOps Q#1087, answer score: 5
Revisions (0)
No revisions yet.