$ git clone -n https://gitee.com/wenyuzifang/libxslt.git /var/lib/mock/dist-an23-build-469410-74027/root/chroot_tmpdir/scmroot/libxslt Cloning into '/var/lib/mock/dist-an23-build-469410-74027/root/chroot_tmpdir/scmroot/libxslt'... $ git fetch origin 8c6327adea2858ac8bcbb65f212beaebe5fc20a2:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/libxslt * [new ref] 8c6327adea2858ac8bcbb65f212beaebe5fc20a2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8c6327a Update code from upstream