$ git clone -n https://src.fedoraproject.org/rpms/strace.git /var/lib/mock/f42-build-3451148-45482/root/chroot_tmpdir/scmroot/strace Cloning into '/var/lib/mock/f42-build-3451148-45482/root/chroot_tmpdir/scmroot/strace'... $ git fetch origin 31f467bb6b742759c71daacc3ef01bb0a3f612a1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/strace * [new ref] 31f467bb6b742759c71daacc3ef01bb0a3f612a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 31f467b 6.14-1