$ git clone -n https://src.fedoraproject.org/rpms/rust-data-encoding-macro-internal.git /var/lib/mock/f37-build-side-32-misc-devel-208096-13384/root/chroot_tmpdir/scmroot/rust-data-encoding-macro-internal Cloning into '/var/lib/mock/f37-build-side-32-misc-devel-208096-13384/root/chroot_tmpdir/scmroot/rust-data-encoding-macro-internal'... $ git reset --hard origin/f37^ fatal: ambiguous argument 'origin/f37^': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'