$ git clone -n https://src.fedoraproject.org/rpms/php-smbclient.git /var/lib/mock/f42-build-862782-171084/root/chroot_tmpdir/scmroot/php-smbclient Cloning into '/var/lib/mock/f42-build-862782-171084/root/chroot_tmpdir/scmroot/php-smbclient'... $ git fetch origin 87da79091437bba0b13807e9415762e984407753:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-smbclient * [new ref] 87da79091437bba0b13807e9415762e984407753 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 87da790 v1.1.2