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