$ git clone -n https://gitee.com/wenyuzifang/LibRaw.git /var/lib/mock/dist-an23-build-471633-74118/root/chroot_tmpdir/scmroot/LibRaw Cloning into '/var/lib/mock/dist-an23-build-471633-74118/root/chroot_tmpdir/scmroot/LibRaw'... $ git fetch origin 80583743e569e24565f1d38a4bd60e23d2e37f95:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/LibRaw * [new ref] 80583743e569e24565f1d38a4bd60e23d2e37f95 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8058374 Update code from upstream