$ git clone -n https://src.fedoraproject.org/rpms/centpkg.git /var/lib/mock/f42-build-side-1-3533126-46342/root/chroot_tmpdir/scmroot/centpkg Cloning into '/var/lib/mock/f42-build-side-1-3533126-46342/root/chroot_tmpdir/scmroot/centpkg'... $ git fetch origin 1af010ca15466ee98eca5f40d9f8868d6abfa395:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/centpkg * [new ref] 1af010ca15466ee98eca5f40d9f8868d6abfa395 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1af010c Update to 0.10.0