hudson.plugins.git.GitException: Command "git rev-parse bc19bbe50001d6e62a200933308458113b367498^{commit}" returned status code 128: stdout: bc19bbe50001d6e62a200933308458113b367498^{commit} stderr: fatal: ambiguous argument 'bc19bbe50001d6e62a200933308458113b367498^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by alex131290
, 1 year ago
}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
via Stack Overflow by user3502786
, 7 months ago
'bc19bbe50001d6e62a200933308458113b367498^{commit}': unknown revision or path not in the working tree. 16:44:30 Use '--' to separate paths from revisions, like this: 16:44:30 'git <command> [<revision>...] -- [<file>...]' 16:44:30
via jenkins-ci.org by Unknown author, 8 months ago
Command "git rev-parse origin/pr/220/merge^{commit}" returned status code 128: stdout: origin/pr/220/merge^{commit} stderr: fatal: ambiguous argument 'origin/pr/220/merge^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions
via Google Groups by mdupont@caltesting.org (JIRA), 1 year ago
path not in the working tree. Use '--' to separate paths from revisions, like <span class="code-keyword" style="color: #000091">this</span>: 'git &lt;command&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]'
via Google Groups by mikhail@hotger.com (JIRA), 1 year ago
Command <span class="code-quote" style="color: #009100">&quot;/usr/bin/git rev-parse 2990ad0d3772^{commit}&quot;</span> returned status code 128: stdout: 2990ad0d3772^{commit} stderr: fatal: ambiguous argument '2990ad0d3772^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions
via GitHub by DoCode
, 1 year ago
Command "git rev-parse "origin/${gitlabTargetBranch}^{commit}"" returned status code 128: stdout: origin/${gitlabTargetBranch}^{commit} stderr: fatal: ambiguous argument 'origin/${gitlabTargetBranch}^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
hudson.plugins.git.GitException: Command "git rev-parse bc19bbe50001d6e62a200933308458113b367498^{commit}" returned status code 128: stdout: bc19bbe50001d6e62a200933308458113b367498^{commit} stderr: fatal: ambiguous argument 'bc19bbe50001d6e62a200933308458113b367498^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1691)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1321)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1333)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:678)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:326)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:301)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:260)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:325)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.