$ git clone -n https://gitee.com/opencloudos-stream/ppp.git /var/lib/mock/dist-ocs23-base-build-304668-30796/root/chroot_tmpdir/scmroot/ppp Cloning into '/var/lib/mock/dist-ocs23-base-build-304668-30796/root/chroot_tmpdir/scmroot/ppp'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ppp * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2613e4b !2 add BuildRequires libtool Merge pull request !2 from denisecheng/master