When running a pipeline specifying a revision different from the current one, the following error may be reported:
DEBUG nextflow.cli.Launcher - Operation aborted
org.eclipse.jgit.api.errors.DetachedHeadException: HEAD is detached
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:202)
at nextflow.scm.AssetManager.download(AssetManager.groovy:574)
at nextflow.scm.AssetManager.download(AssetManager.groovy)
at nextflow.cli.CmdRun.getScriptFile(CmdRun.groovy:280)
at nextflow.cli.CmdRun.run(CmdRun.groovy:197)
at nextflow.cli.Launcher.run(Launcher.groovy:410)
at nextflow.cli.Launcher.main(Launcher.groovy:564)
When running a pipeline specifying a revision different from the current one, the following error may be reported: