$ git clone -n https://src.fedoraproject.org/rpms/php-sebastian-lines-of-code2.git /var/lib/mock/f39-build-2240576-53641/root/chroot_tmpdir/scmroot/php-sebastian-lines-of-code2 Cloning into '/var/lib/mock/f39-build-2240576-53641/root/chroot_tmpdir/scmroot/php-sebastian-lines-of-code2'... $ git fetch origin 814b5b47c583c4f98a290b08d65a4dc2f5918f27:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-sebastian-lines-of-code2 * [new ref] 814b5b47c583c4f98a290b08d65a4dc2f5918f27 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 814b5b4 update to 2.0.2