$ git clone -n https://src.fedoraproject.org/rpms/transmission.git /var/lib/mock/f40-build-761651-121633/root/chroot_tmpdir/scmroot/transmission Cloning into '/var/lib/mock/f40-build-761651-121633/root/chroot_tmpdir/scmroot/transmission'... $ git fetch origin 0c135d5baabe60db3dd02a49d9a6b2ab2efd4ef2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/transmission * [new ref] 0c135d5baabe60db3dd02a49d9a6b2ab2efd4ef2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c135d5 4.0.5