$ git clone -n https://gitee.com/wency_cn/tar_1770760402.git /var/lib/mock/dist-an23-build-513309-75099/root/chroot_tmpdir/scmroot/tar_1770760402 Cloning into '/var/lib/mock/dist-an23-build-513309-75099/root/chroot_tmpdir/scmroot/tar_1770760402'... $ git fetch origin a665006335b29c3743f164213c0bc99724e2bd26:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/tar_1770760402 * [new ref] a665006335b29c3743f164213c0bc99724e2bd26 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a665006 Update code from upstream