$ git clone -n https://gitee.com/wenyuzifang/nginx.git /var/lib/mock/dist-an23-build-485522-74348/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an23-build-485522-74348/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 34832f8cebd318ef801bafc14158c16f2c14186c:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/nginx * [new ref] 34832f8cebd318ef801bafc14158c16f2c14186c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 34832f8 Update code from upstream