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