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