$ git clone -n https://src.fedoraproject.org/rpms/fcitx5-unikey.git /var/lib/mock/f42-build-3346765-45002/root/chroot_tmpdir/scmroot/fcitx5-unikey Cloning into '/var/lib/mock/f42-build-3346765-45002/root/chroot_tmpdir/scmroot/fcitx5-unikey'... $ git fetch origin b9e8177e9706328b044737aaac8e6c6fc6b9e32b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/fcitx5-unikey * [new ref] b9e8177e9706328b044737aaac8e6c6fc6b9e32b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b9e8177 update to upstream release 5.1.6