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