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