$ git clone -n https://gitee.com/mgb01105731/libnet.git /var/lib/mock/dist-an23.3-build-419410-72884/root/chroot_tmpdir/scmroot/libnet Cloning into '/var/lib/mock/dist-an23.3-build-419410-72884/root/chroot_tmpdir/scmroot/libnet'... $ git fetch origin 0206b2331fc62f832ab609b91ce85ed04f4fa72c:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libnet * [new ref] 0206b2331fc62f832ab609b91ce85ed04f4fa72c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0206b23 Update to 1.3 from 1.2