$ git clone -n https://gitee.com/zhuhong_bo/deepin-keyring-whitebox.git /var/lib/mock/dist-an23-dde-build-537646-83294/root/chroot_tmpdir/scmroot/deepin-keyring-whitebox Cloning into '/var/lib/mock/dist-an23-dde-build-537646-83294/root/chroot_tmpdir/scmroot/deepin-keyring-whitebox'... $ git fetch origin 84ce15dacba02a056a81807bdb4e8cb84bdece2a:KOJI_FETCH_HEAD From https://gitee.com/zhuhong_bo/deepin-keyring-whitebox * [new ref] 84ce15dacba02a056a81807bdb4e8cb84bdece2a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 84ce15d provide whitebox support for root