$ git clone -n https://src.fedoraproject.org/rpms/imhex.git /var/lib/mock/f41-build-1029487-18396/root/chroot_tmpdir/scmroot/imhex Cloning into '/var/lib/mock/f41-build-1029487-18396/root/chroot_tmpdir/scmroot/imhex'... $ git fetch origin 9eee0f6f238edb42597a15a0b9e970ff7954abfe:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/imhex * [new ref] 9eee0f6f238edb42597a15a0b9e970ff7954abfe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9eee0f6 update sources