$ git clone -n https://gitee.com/gaohongmei/libndp.git /var/lib/mock/dist-an8.6-build-195054-60841/root/chroot_tmpdir/scmroot/libndp Cloning into '/var/lib/mock/dist-an8.6-build-195054-60841/root/chroot_tmpdir/scmroot/libndp'... $ git fetch origin 6cf1b57a3d4419db34fbb574c5581d0f83cddcfc:KOJI_FETCH_HEAD From https://gitee.com/gaohongmei/libndp * [new ref] 6cf1b57a3d4419db34fbb574c5581d0f83cddcfc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6cf1b57 optimise spec file