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