$ git clone -n https://gitee.com/xzyang-anolis/deepin-image-viewer.git /var/lib/mock/dist-an23-dde-build-353146-71011/root/chroot_tmpdir/scmroot/deepin-image-viewer Cloning into '/var/lib/mock/dist-an23-dde-build-353146-71011/root/chroot_tmpdir/scmroot/deepin-image-viewer'... $ git fetch origin 6b8aca4064f7db3e7967bb31e9aa60a30c547b25:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/deepin-image-viewer * [new ref] 6b8aca4064f7db3e7967bb31e9aa60a30c547b25 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6b8aca4 Update to deepin-image-viewer-5.8.2