$ git clone -n https://src.fedoraproject.org/rpms/iproute.git /var/lib/mock/f40-build-757670-119443/root/chroot_tmpdir/scmroot/iproute Cloning into '/var/lib/mock/f40-build-757670-119443/root/chroot_tmpdir/scmroot/iproute'... $ git fetch origin d7b1054f529b7d634e4a3ad27d4f6eef95e58177:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/iproute * [new ref] d7b1054f529b7d634e4a3ad27d4f6eef95e58177 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d7b1054 iproute-6.5.0-1.f40