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