$ git clone -n https://src.fedoraproject.org/rpms/python-torch.git /var/lib/mock/f40-build-2378522-60443/root/chroot_tmpdir/scmroot/python-torch Cloning into '/var/lib/mock/f40-build-2378522-60443/root/chroot_tmpdir/scmroot/python-torch'... $ git fetch origin 1bcf75f50a235043bf3924333af1e92b1b339875:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-torch * [new ref] 1bcf75f50a235043bf3924333af1e92b1b339875 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1bcf75f A working --with gitcommit --with rocm