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