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