$ git clone -n https://gitee.com/happy_orange/anolis-release_1.git /var/lib/mock/dist-an23-build-281391-64635/root/chroot_tmpdir/scmroot/anolis-release_1 Cloning into '/var/lib/mock/dist-an23-build-281391-64635/root/chroot_tmpdir/scmroot/anolis-release_1'... $ git fetch origin 4c33b1bd3620f1ffcf019c8369fab87e5ecca7d4:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/anolis-release_1 * [new ref] 4c33b1bd3620f1ffcf019c8369fab87e5ecca7d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4c33b1b change the official repo address