$ git clone -n https://gitee.com/wency_cn/libsndfile.git /var/lib/mock/dist-an23-build-492381-74553/root/chroot_tmpdir/scmroot/libsndfile Cloning into '/var/lib/mock/dist-an23-build-492381-74553/root/chroot_tmpdir/scmroot/libsndfile'... $ git fetch origin a310b08d3b5ef851cfafd4d181727bdcf668e413:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/libsndfile * [new ref] a310b08d3b5ef851cfafd4d181727bdcf668e413 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a310b08 Update code from upstream