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