$ git clone -n https://gitee.com/wenyuzifang/libiec61883.git /var/lib/mock/dist-an23-build-469325-74027/root/chroot_tmpdir/scmroot/libiec61883 Cloning into '/var/lib/mock/dist-an23-build-469325-74027/root/chroot_tmpdir/scmroot/libiec61883'... $ git fetch origin 7243b783ab7fbaf721e8b2063aa1acfdbacfffca:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/libiec61883 * [new ref] 7243b783ab7fbaf721e8b2063aa1acfdbacfffca -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7243b78 Update code from upstream