$ git clone -n https://src.fedoraproject.org/rpms/fcitx5-kkc.git /var/lib/mock/f40-build-801595-143829/root/chroot_tmpdir/scmroot/fcitx5-kkc Cloning into '/var/lib/mock/f40-build-801595-143829/root/chroot_tmpdir/scmroot/fcitx5-kkc'... $ git fetch origin f6f13d1888af3798b79117d8a51518f038a81f5e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/fcitx5-kkc * [new ref] f6f13d1888af3798b79117d8a51518f038a81f5e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f6f13d1 update to upstream release 5.1.2