$ git clone -n https://gitee.com/wency_cn/at-spi2-core.git /var/lib/mock/dist-an23-build-502383-74802/root/chroot_tmpdir/scmroot/at-spi2-core Cloning into '/var/lib/mock/dist-an23-build-502383-74802/root/chroot_tmpdir/scmroot/at-spi2-core'... $ git fetch origin 1603cdf7b0fcb21acc807a8726e1f40fd24c812a:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/at-spi2-core * [new ref] 1603cdf7b0fcb21acc807a8726e1f40fd24c812a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1603cdf Update code from upstream