$ git clone -n https://gitee.com/zhuhong_bo/deepin-authenticate.git /var/lib/mock/dist-an23-dde-build-530774-80546/root/chroot_tmpdir/scmroot/deepin-authenticate Cloning into '/var/lib/mock/dist-an23-dde-build-530774-80546/root/chroot_tmpdir/scmroot/deepin-authenticate'... $ git fetch origin e48a9a9e3bb7be34ad9984244dab2cdfef770e20:KOJI_FETCH_HEAD From https://gitee.com/zhuhong_bo/deepin-authenticate * [new ref] e48a9a9e3bb7be34ad9984244dab2cdfef770e20 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e48a9a9 upgrade to 1.5.12