$ git clone -n https://gitee.com/fundawang/sqlite.git /var/lib/mock/dist-an23-build-278353-64460/root/chroot_tmpdir/scmroot/sqlite Cloning into '/var/lib/mock/dist-an23-build-278353-64460/root/chroot_tmpdir/scmroot/sqlite'... $ git fetch origin d4940656e22c8d8333a3785441febd9ff9c5e2c5:KOJI_FETCH_HEAD From https://gitee.com/fundawang/sqlite * [new ref] d4940656e22c8d8333a3785441febd9ff9c5e2c5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d494065 3.42.0