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