$ git clone -n https://src.fedoraproject.org/rpms/ghc-ilist.git /var/lib/mock/f38-build-side-42-init-devel-856807-28426/root/chroot_tmpdir/scmroot/ghc-ilist Cloning into '/var/lib/mock/f38-build-side-42-init-devel-856807-28426/root/chroot_tmpdir/scmroot/ghc-ilist'... $ git fetch origin 065b6749e7502f78f467739f7a8e680f4603872c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-ilist * [new ref] 065b6749e7502f78f467739f7a8e680f4603872c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 065b674 use dos2unix for cabal revision