$ git clone -n https://src.fedoraproject.org/rpms/coreutils.git /var/lib/mock/f42-build-side-1-3585728-46907/root/chroot_tmpdir/scmroot/coreutils Cloning into '/var/lib/mock/f42-build-side-1-3585728-46907/root/chroot_tmpdir/scmroot/coreutils'... $ git fetch origin dfeff61db9c78840ec66990989c5f8ab5f5f012f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/coreutils * [new ref] dfeff61db9c78840ec66990989c5f8ab5f5f012f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dfeff61 ls: fix crash on systems with SELinux but without xattr support