$ git clone -n https://gitee.com/wenyuzifang/rpm-ostree.git /var/lib/mock/dist-an23-build-451339-73479/root/chroot_tmpdir/scmroot/rpm-ostree Cloning into '/var/lib/mock/dist-an23-build-451339-73479/root/chroot_tmpdir/scmroot/rpm-ostree'... $ git fetch origin 4889f81952d3e4cbf47be18a4a6232e4db4dad83:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/rpm-ostree * [new ref] 4889f81952d3e4cbf47be18a4a6232e4db4dad83 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4889f81 Update code from upstream