$ git clone -n https://gitee.com/forrest_ly/netcdf.git /var/lib/mock/dist-an23-build-276444-64365/root/chroot_tmpdir/scmroot/netcdf Cloning into '/var/lib/mock/dist-an23-build-276444-64365/root/chroot_tmpdir/scmroot/netcdf'... $ git fetch origin 46be591122c64a1ed7be009a1f2c258b7ade177b:KOJI_FETCH_HEAD From https://gitee.com/forrest_ly/netcdf * [new ref] 46be591122c64a1ed7be009a1f2c258b7ade177b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 46be591 update netcdf.spec.